Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
simlevesque
· 12y ago · 0 comments
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.
Comments
[–]
sureshv
12y ago
Why not use a custom type instead of the 'Content-Type' header?
Edit: Looks like this may not be possible on a HTML 5 form.
[–]
begriffs
12y ago
Maybe posting should be done with a richer client-side app than a vanilla form. The unaided browser is a pretty sad user agent.
[–]
wprl
12y ago
The thing is, this isn't all that important...
[–]
wprl
12y ago
A down vote isn't a substitute for a valid reason why supporting vanilla forms is an important point in the API versioning discussion ;)