You need to sign in to do that
Don't have an account?
Juan Núñez
How can I change the HTTP status code on an apex Page?
Hi!
I'm trying to develop a Page that given some GET parameters would return HTTP Status 200 or status 400 depending on some inner query.
This would be really easy in a RESTful service, but we need this to be a Page.
How can I do this?
Thanks
I finally found the (lack) of solution in:
Salesforce@Stackexchange
All Answers
I'd need to be able in the action method of the controller to change the HTTP status of a Page.
This'd be the Page:
This'd be the controller:
I finally found the (lack) of solution in:
Salesforce@Stackexchange