I sent it in application/json format, but why does it keep changing to text/plain format?
retool custom component code
I sent it in application/json format, but why does it keep changing to text/plain format?
I sent it in application/json format, but why does it keep changing to text/plain format?
retool custom component code
I sent it in application/json format, but why does it keep changing to text/plain format?
Hey @Will_Heo!
Using no-cors
is incompatible with content types other than application/x-www-form-urlencoded
, multipart/form-data
or text/plain
. Any other Content-Type
header will be replaced with text/plain
(see this article).
If you're trying to navigate CORS issues you might try using a REST query that you trigger from inside your component Curious to hear more about your use case!