Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agreed. Sessions and the limitations of forms are the biggest obstacles to 100% restful APIs used from web browsers.


You can however use XHR form submission[1] in the background (which is a good practice (better site responsiveness) after all) to use HTTP methods other than GET and POST.

[1] e.g. http://jquery.malsup.com/form/#json




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: