3 ms·
There is actually a HTTP header (Range) that can be used for this. Works well in APIs but you can't do it with browsers, which is unfortunate.
by bodhi 15y ago
There is actually a HTTP header (Range) that can be used for this. Works well in APIs but you can't do it with browsers, which is unfortunate.
- alexchamberlain 15y agoCan you not set custom headers in browsers?
- bodhi 15y agoYou can do it with AJAX requests, but not with links or regular forms (as far as I am aware... I'd love to hear otherwise)
- alexchamberlain 15y agoShould a REST API ever be expose by a form or link?
- bodhi 15y agoThe web is basically a REST API, no? (I'm being a bit facetious.)