Name | Description |
---|---|
data[type] | Resource type (pops) |
data[id] | POP ID |
data[attributes][name] | Name |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTgsInN1YiI6MTQ1fQ.1kUtyl4UuyIFvuIwNZn9emjDBVsPTZzPQIaCCrvbk0o Host: example.org Cookie:
POST /api/rest/admin/pops
{"data":{"type":"pops","id":11,"attributes":{"name":"name"}}}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/vnd.api+json Vary: Accept ETag: W/"e4cbcfe6c33fb20135b2f1da3119dd72" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: ef4c1843-5302-4943-84d5-6b0e25903208 X-Runtime: 0.013084 Content-Length: 124
201 Created
{ "data": { "id": "11", "type": "pops", "links": { "self": "http://example.org/api/rest/admin/pops/11" }, "attributes": { "name": "name" } } }