Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello,
I currently try to upload an image to SAP via Odata as Attachment.
Everything is fine, but i have one issue.
The SAP Endpoint expect a Content-Type : (f.e) image/png...
But the service send everytime application/json.
I've allready changed the getCustomHeaderParameters... still not working. Any Idea how i can change the content type?
Hi @bot1q.
What version of ThingWorx are you running? Beginning with ThingWorx 8.4, we introduced a tool called Flow that may better address your issue. However, there have been improvements to Flow in the ThingWorx 8.5 release, as well as the upcoming 9.0 release.
Regards.
--Sharon
Is that the Integration Runtime SAP Odata connector?
If you don't have access to Flow, please try the standard ContentLoader snippets.
When I need to add my own headers so that the call would work, I use those instead.
Let us know what you managed to do.