I’m trying to update fields in salesforce using the pub.client:http (patch method - method that was suggested to be used according to salesforce documentation) but I’m unable to perform successful http response.
These are the parameters I’ve configure when invoking the service pub.client:http
Hi. The documentation for pub.client:http says, “When you submit data using args, Integration Server automatically sets the value of the Content-Type header to application/x-www-form-urlencoded.”
It also says, “For POST, PUT, and PATCH, you can specify only stream, bytes, or mimeStream.” In your case, mimeStream probably does not apply. You can supply the body as a byte array in data/bytes or as an InputStream in data/stream.
I’ve tried to convert and supply the json data to data/bytes and data/stream. unfortunately, both are having below error. It seems the body is not being recognized. Am I missing something?
[{“message”:“The HTTP entity body is required, but this request has no entity body.”,“errorCode”:“XML_PARSER_ERROR”}]
Yes, I’m doing the update from an on-premise IS. I think cloudStreams isn’t configured to our IS. Any thoughts to make the update working in on-premise using http? by the way I’m using v10.7