Client data provider API
Client data provider API.
You can check this application working at: https://drf-clients-api.herokuapp.com/
Documentation: https://drf-clients-api.herokuapp.com/doc
Features
Endpoints
GET /clients -> Display all the clients data registered in the database.
POST /clients -> Create a new client.
GET /clients/cpf_filter/{cpf} -> Display the client with the specified cpf. –
example: /clients/cpf_filter/94099913236
GET /clients/gender_filter/{gender} -> Display all the clients with the specified gender. –
example: /clients/gender_filter/F
GET /clients/state_filter/{state} -> Display all the clients that live in the specified state. –
example: /clients/state_filter/Acre
GET /clients/{id}/ -> Display the client with the specified id. –
example: /clients/350
Searching and ordering
It is possible to search for a clients name by using the search