You need to sign in to do that
Don't have an account?
Suman Kundu
Response from Rest Resource (@HttpPost) enclosed by Double Quote
Hi,
I have built a RestResource class for handling HTTPPost requests. Now everything is working properly except the response being enclosed by double quote ("). I am sending a response in xml pattern but in return type I am using type: String.
@HttpPost
global static String doPost(String message, String device_address)
I don't know what should be the response type here, and also don't know whether this return type makes the problem or not.
So I need your suggestion to resolve the issue ASAP.
Thanks
Suman Kundu