function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
we-mpwe-mp 

PageReference to external website using POST

Hello, 

 

I would like to call an extenal website using PageReference and would like to pass some Form input field values using HTTP POST.  How can I acheive this?

 

Thank you.

stephanstephan
I don't think you can do this using a PageReference. You could, however, create an intermediate VF page with a form holding the values you want to post in hidden inputs, and use some Javacript to post the form on page load.