79163117

Date: 2024-11-06 14:54:25
Score: 1
Natty:
Report link

I think we should stop pretending that we can build JSON REST APIs and just build a JSON API, without the REST. Or If it's a REST API, then do not send JSON bodies.

URL query params are not JS objects, AFAIK.

Then, the Browser is an HTML client, but you can embedded an http JS client that makes AJAX calls.

It's a mess.

So, POST /resources/search with a JSON body if that's makes sense to you and keep working on your project.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Matias