You need to sign in to do that
Don't have an account?
Wim van Beek
Unexpected behavior on ApexPages.currentPage().getContent() in salesforce Site
When reading a incomming POST call into Salesforce site, the ApexPages.currentPage().getContent() does not work. Schould this function return the data (as blob etc.) Ref https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_System_PageReference_getContent.htm indicates it would, but at runtime I get all kind of bizar errors. Any idea or experiences?
Using ApexPages.currentPage().getHeaders() and ApexPages.currentPage().getParameters() work fine
Using ApexPages.currentPage().getHeaders() and ApexPages.currentPage().getParameters() work fine