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

Use the QUERY method in your http query to query search results. Do not add query parameters.

I think the name is confusing because the term 'query' is already used to refer to http requests in general.

Just the title of the RFC confused me.



> the term 'query' is already used to refer to http requests in general

In what circles is this the case? I sometimes colloquially refer to a GET request as a query, but definitely not so on a POST, PUT or DELETE.


I'm guessing the op is referring to https://en.wikipedia.org/wiki/Query_string


Yeah, and it doesn't even have to be a query, it could be an idempotent effect. I think they'd be better off calling it IPOST (for idempotent post).

Edit: ah, they declare QUERY as "safe" meaning no side effects, for cacheability. My mistake.




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

Search: