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
VladikVladik 

Get full contents of post request from apex

I have a problem with parsing post request to my apex page.

Application outside of salesforce access to visualforce page ( through the sites ) and transfer some data. I need to get all data.

This construction does not work:
String post_request = ApexPages.currentPage().getParameters().get('parameter');

Because saleforce expecting data:
'color=red&size=small&height=tall'

But real data is:
'qposkicimshfjslmcownk'

 

In other words - I need to get this string without salesforce parsing.