logoalt Hacker News

The new HTTP QUERY method explained

43 pointsby CommonGuytoday at 6:05 AM17 commentsview on HN

Comments

tostitoday at 8:13 AM

> using HTTP GET with a request body is a bad idea, as for example users behind a corporate firewall or a different browser may be unable to use your website.

So is using QUERY requests for quite some time from now.

show 2 replies
nokeyatoday at 8:25 AM

If it needs so much explanation and discussion, maybe it is not a great idea after all?

show 1 reply
doctor_philtoday at 8:20 AM

Nice, not having bodies on GET has been a pet peeve of mine for a long time. It would be nice to allow bodies on DELETE as well, but that is less of a problem in most cases.

8-primetoday at 8:03 AM

It's interesting to see additions to HTTP methods as it much feels like the existing ones are set in stone. At least for the time that I have been a developer. I'm curious to see how fast the adoption/support for HTTP QUERY will be. I've had my fair share of situations where I wished for something like HTTP QUERY.

show 2 replies
ktpsnstoday at 6:50 AM

HTTP QUERY was discussed many times in the past here:

https://news.ycombinator.com/item?id=48568502 (4d ago, 173 comments)

https://news.ycombinator.com/item?id=29794838 (4y ago, 125 comments)

koolalatoday at 7:49 AM

What do you think people will make the Query request body? Most everything will use this for JSON but it could be anything so what other interesting things do you think will go in there? Query 1 + 1 and get 2?

show 1 reply
hparadiztoday at 6:47 AM

This feels like someone coming up with XML when JSON already exists.

show 1 reply