Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bodhi
on Feb 6, 2012
|
parent
|
context
|
favorite
| on:
How I learned to stop worrying and love REST
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
on Feb 6, 2012
[–]
Can you not set custom headers in browsers?
bodhi
on Feb 6, 2012
|
parent
[–]
You 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
on Feb 6, 2012
|
root
|
parent
[–]
Should a REST API ever be expose by a form or link?
bodhi
on Feb 6, 2012
|
root
|
parent
[–]
The web is basically a REST API, no? (I'm being a bit facetious.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: