PostMultipart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
PostMultipart
Hey guys,
I am trying to upload a file to my external REST API and I found a Snippet in the services called PostMultipart. I thought I could use it to upload a file from my repository, but I cant find any documentation about it and it is not working.
That's the snippet I am talking about:
Does someone know if I can use it to upload or know what could went wrong?
- Labels:
-
Connectivity
- Tags:
- rest api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
What version of ThingWorx? Does your external REST API have services that upload documents? If so, why not just call one of those?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have ThingWorx 7.2.1. I thought i could use the prepared service. After some tries I made an extension in Java to make a post request and it is working now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oh, that's good to hear! I am glad you got it working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This thread can help those looking for an example on PostMultipart:-
