Messages
Name | Description |
---|---|
token | token |
message[content] | Message content |
message[first_name] | First name |
message[last_name] | Last name |
message[email] |
Content-Type: application/json Host: example.org Cookie:
POST api/v1/messages
{"token":"foobar76","message":{"content":"content","first_name":"first_name","last_name":"last_name","email":"some@email.com"}}
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/"f81a82fec7415bda48442c17f4d930ce" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 2b1d9635-9113-4925-be01-0749a5a60c3f X-Runtime: 0.028791 Content-Length: 193
201 Created
{ "id": 1, "content": "content", "created_at": "2022-06-02T17:16:44.343+02:00", "updated_at": "2022-06-02T17:16:44.343+02:00", "first_name": "first_name", "last_name": "last_name", "email": "some@email.com" }