jorgesouza / place-api-cb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Place API CB

Built with:

The operations is described below.

Create a place

Request

POST https://place-api-cb.herokuapp.com/places

{
	"name": "name",
	"slug": "slug",
	"city": "city",
	"state": "state"
}

Edit a place

Request

PUT https://place-api-cb.herokuapp.com/places/{id}

{
	"name": "name",
	"slug": "slug",
	"city": "city",
	"state": "state"
}

Get a specific place

Request

GET https://place-api-cb.herokuapp.com/places/{id}

List places and filter them by name

Request

GET https://place-api-cb.herokuapp.com/places?name={name}

About


Languages

Language:Java 100.0%