fetch-it icon indicating copy to clipboard operation
fetch-it copied to clipboard

Doesn't set the right headers on json post

Open vhpoet opened this issue 9 years ago • 1 comments

It seems like there's a logic to identify if the request data is json. If that's the case, then it would be great to also automatically set content-type to application/json.

vhpoet avatar Oct 14 '16 21:10 vhpoet

It seems like there's a logic to identify if the request data is json. If that's the case, then it would be great to also automatically set content-type to application/json.

we can set content type as json we just need to identify that whether its a valid json object or not and when we do that there are some problems regrading that because its not always possible to identify tese objects and even if we do there is no guarentee that it works perfectly or not :small_airplane: :smile_cat:

shockwavemoto avatar May 30 '17 18:05 shockwavemoto