Api::V1::PoisController API

Pois

Report a POI to Entourage team

POST api/v1/pois/:id/report

Parameters

Name Description
token token
id id
message message

Request

Headers

Content-Type: application/json
Host: example.org
Cookie: 

Route

POST api/v1/pois/5/report

Body

{"token":"foobar121","message":"message"}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE
Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY
Content-Type: application/json; charset=utf-8
ETag: W/"d2bba5c99af7518dc3b0729abfa040fe"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: e3bb9071-5dfe-425e-b52c-032c6072dc63
X-Runtime: 0.012648
Content-Length: 21

Status

201 Created

Body

{
  "message": "message"
}