I am trying to post a JSON String to SalesForce using pub.client:http and below are the parameters.
URL = SalesForce URL
Method = Post
Under Data - string = JSON String
Under Header - Authorization = Necessary Token Info
encoding = tried both UTF-8 and also empty
content-type = tried empty and application/json
But when this is sent, on SalesForce side, the JSON String that is posted is being received as a paramater in the URL and not in the body and it is empty in the body and also the content-type is received as application/x-www-form-urlencoded in the URL parameter.
Can you please let me know if there is a way to send this JSON string as body from webmethods so that it can be received in the body on SalesForce side instead of URL param?