Timeline for When should I use GET or POST method? What's the difference between them?
Current License: CC BY-SA 2.5
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 10, 2019 at 7:52 | comment | added | Grant | @variable POST. In this case, mostly because POST is built to handle file uploads and standard GET isn't. You'd have to send the file every time the page loads, so it makes sense to just use standard POST instead of GET+file which would break GET's expectation that a URL should give more-or-less the same results every time. | |
| Dec 6, 2019 at 6:10 | comment | added | variable | If the endpoint accepts a file and return a line from the file (no data creation or changing or database is involved), then should the endpoint be GET or POST? | |
| Feb 2, 2009 at 21:23 | history | answered | Grant | CC BY-SA 2.5 |