Utility - HTTP Request Multipart - Content-Type Bug(?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-04-23 03:44 PM
HOWEVER, I was able to do so only after my slight change to the code stage.
I wonder if it is a small bug or I was not able to implement it as it was supposed to.
Alongside a file I need to send a message. It has Json format so I need this part to have a "application/json" Content-Type. This action doesnt allow me to specify Content-Type for this part of the request.
When I do not send a file I am able to observe in fiddler that it does get send without any content type and then probably assumes "octet-stream".
I resolved it by simply adding this to code:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-04-23 03:02 PM
@Dominika Zolotarew
Thanks for pointing this out. You are right that the current version doesn't allow setting the Content-Type explicitly for FieldMetadata. It would be worth adding this as a parameter to offer more flexibility to the action. I will include this change in the action shortly and publish a new version on DX shortly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-04-23 09:20 PM
That's terrific, thank you!
I would be grateful for info once it's done, but I will of course monitor DX as well.
Have a good day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-04-23 06:41 AM
@Dominika Zolotarew
New version 10.0.1 has been posted on DX to support setting Content Type for FieldMetadata. Let us know if it resolves your issue.
