/usersCRUD

First application for the Golang practice

Primary LanguageGo

usersCRUD

Indices


Requests

1. Create User

Endpoint:

Method: POST
Type: RAW
URL: localhost:8080/api/v1/user/

Body:

{
    "firstname": "Melisa",
    "lastname": "Onofri"
}

2. Delete User

Endpoint:

Method: DELETE
Type: 
URL: localhost:8080/api/v1/user/3

3. Get User

Endpoint:

Method: GET
Type: 
URL: localhost:8080/api/v1/user/

4. Get Users

Endpoint:

Method: GET
Type: 
URL: localhost:8080/api/v1/user/

5. Update User

Endpoint:

Method: PUT
Type: RAW
URL: localhost:8080/api/v1/user/2

Body:

{
    "firstname": "Melisa Ailén",
    "lastname": "Onofri"
}

Back to top

Made with ♥ by thedevsaddam | Generated at: 2021-04-28 12:56:57 by docgen