You need to sign in to do that
Don't have an account?
Sunny83
Http Entity in REST Request - Salesforce
Hi
I am working on a requirement where I am exposing the REST based web services to iOS API. The request JSon is set into message entity of Http request. But I am not able to fetch out entity from Http request.
Salesforce does not have methods like HttpResponse.getEntity() or HttpResponse.setEntity() to set and get message entity. I am not sure if there is any other alternative to it.
Please help!
Regards
Sunny
You can access the request payload via the requestBody property see http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_classes_annotations_rest.htm|StartTopic=Content%2Fapex_classes_annotations_rest.htm|SkinName=webhelp