One verb per URL (and actions described in the URL along the verb) makes a very weird REST API.

@aeveltstra Internal service, not sure if I can openly share it.

But think

GET /resource
POST /resouce-add
PUT /resource-update

@aeveltstra Also, no `POST /resource` 'cause what it would do is done by `POST /resource-add`.

Follow

@juliobiason Yes, I agree that's a weird-looking API design. Did the designer forget that HTTP verbs exist, when they thought up the endpoints?

@aeveltstra It's one of the new guys, and I'm not sure if it is just inexperience or there is something in the framework that makes easier to have this kind of URLs.

That's why I'm going to talk to him, so I can understand why he came up with those URLs.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!