4 ms·
As others have pointed, if you try to POST a HTML5 form to any API, you can't specify the header, it will always be x-www-formurlencoded.
by simlevesque 13y ago
As others have pointed, if you try to POST a HTML5 form to any API, you can't specify the header, it will always be x-www-formurlencoded.
- sureshv 13y agoWhy not use a custom type instead of the 'Content-Type' header? Edit: Looks like this may not be possible on a HTML 5 form.
- wprl 13y agoThe thing is, this isn't all that important...
- wprl 13y agoA down vote isn't a substitute for a valid reason why supporting vanilla forms is an important point in the API versioning discussion ;)
- begriffs 13y agoMaybe posting should be done with a richer client-side app than a vanilla form. The unaided browser is a pretty sad user agent.