|
|
|
|
|
by jamiesonbecker
4104 days ago
|
|
I'm all for (ab)using specs whenever convenient, but this is just such a bad idea. You will rarely actually use query args (ie ?x=y&foo=1) with a true REST API anyway. Use your resource path and avoid query args except for idempotent GET operations. If you have complex data, just put it in a request body as JSON. Don't put that crap in a query arg. That's not what it's for. |
|