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
Danny IncompanyDanny Incompany 

POST Behavior on force.com Apex

Hi,

We have built an e-commerce application on force.com platform with Apex code. We are sending an HTTP POST from the force.com platform to a location provided by a local banking web service, the endpoint is registered within the platform as required. The POST is successful, and we receive the proper response but it's not redirecting as it should.

The response contains the form to be displayed, it contains a whole html with a credit card information form on it. Several attempts to display the html in a new page have been successful but the form fails to function. Is there a way for the platform to redirect automatically after the POST, loading the document that it's receiving as a response in a new page?