You need to sign in to do that
Don't have an account?
Vladik
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.
Is there any reason why you would access the data this way rather than via controller properties or sobject fields? According to the Salesforce docs when a postback occurs, the viewstate is decoded and used as the basis for updating records, so you may not be able to get at the parameters that you are looking for.
It related with linkedin integration. First I transfer url to the linkedin service, then linkedin make access to the url which I specified and return some information via post request.