I’m not even sure if this is possible, but I need to send POST data to a page via a user-clicked link. Can this be done?
To be clear, I do not want the data returned to the current page; the target page should load in the browser just as though the user had submitted a form, but I need to send the post data without a form, if possible
What do you mean without a form? Can the form be “invisible” to the user? If so, you could do something like:
Obviously it could be done many different ways, but you get the idea.
It would be just like a form with the POST parameters intact in the request just in case you use that information at the server when serving up that page.