top | item 44509665

(no title)

programmarchy | 7 months ago

For most APIs that doesn’t deliver any value which can’t be gained from API docs, so it’s hard to justify. However, these days it could be very useful if you want an AI to be able to navigate your API. But MCP has the spotlight now.

discuss

order

naasking|7 months ago

And that's fine, but then you're doing RPC instead of REST and we should all be clear and honest about that.

Spivak|7 months ago

I think you throw away a useful description of an API by lumping them all under RPC. If you tell me your API is RPC instead of REST then I'll assume that:

* If the API is available over HTTP then the only verb used is POST.

* The API is exposed on a single URL and the `method` is encoded in the body of the request.