GET curl http://url/path?a=x&b=y POST curl -X POST http://url/path \ -H "Content-Type: application/json" \ -d '{"a":"x", "b":"y"}'