Skip to content

jhosefmarks/app-demo-portinari-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample customers API

A sample for practice.

APIs

List all people

GET https://app-demo-portinari-api.herokuapp.com/api/samples/v1/people

Get a person data

GET https://app-demo-portinari-api.herokuapp.com/api/samples/v1/people/:id

Add new person

POST https://app-demo-portinari-api.herokuapp.com/api/samples/v1/people

{ "name": "name", "email": "[email protected]", "status": "Active" }

Update a person

PUT https://app-demo-portinari-api.herokuapp.com/api/samples/v1/people/:id

{ "nickname": "Dude", "street": "Street X" }

Remove a lote of people

DELETE https://app-demo-portinari-api.herokuapp.com/api/samples/v1/people

[
  { "id": 12345 },
  { "id": 67890 }
]

Remove a person

DELETE https://app-demo-portinari-api.herokuapp.com/api/samples/v1/people/:id

List some cities of Brazil

GET https://app-demo-portinari-api.herokuapp.com/api/samples/v1/cities

List all states of Brazil

GET https://app-demo-portinari-api.herokuapp.com/api/samples/v1/states

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published