Start a new topic

REST API should be RESTful

The current REST API does not follow the traditional convention for RESTFul APIs.

Below is what each API should ideally be:

/users/create - POST /users

/users/edit - PUT /users

/users/list - GET /users

And to lookup a specific user - GET /users/<uuid>

The same conventions should be followed for the /transaction-types and /users/airdrop API endpoints. Additionally, /users/airdrop should just be /airdrop.

Login to post a comment