You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Being able to set a Custom content-type via a separate input that displays when I'd select the Custom content-type option
Describe alternatives you've considered
I've tried setting Content-Type in the Headers section but it gets overriden.
The text was updated successfully, but these errors were encountered:
Yes, you're absolutely right. I took a closer look at the code, and it indeed doesn't override the Content-Type. The order of the code (how it merges the values of Headers) means that if you use the "Http Request Block," its Content-Type will always be one of the four predefined options, rather than a custom value.
I'll definitely add this to my to - do list. In the meantime, you can use a JS Block to execute the corresponding request.
Additionally, there's a sort of "workaround" you could try. You can customize the header by adding a key: "content-type" and value: [your value]. This will merge the headers, and the actual request sent will look like what I've shown in the screenshot. However, I'm not sure if this will fully meet your server's requirements.
I'd like to send an application/ld+json body
Describe the solution you'd like
Being able to set a Custom content-type via a separate input that displays when I'd select the Custom content-type option
Describe alternatives you've considered
I've tried setting Content-Type in the Headers section but it gets overriden.
The text was updated successfully, but these errors were encountered: