Name | Description |
---|---|
data[type] | Resource type (network-types) |
data[attributes][name] | Name |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjMsInN1YiI6MjE5fQ.H4Dp2KAC7PiDHUwFW-udIPIK0-rAhAPb49pE8Tflel0 Host: example.org Cookie:
POST /api/rest/admin/system/network-types
{"data":{"type":"network-types","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/"a6401be2a66e5cdbb3e03a068a768ad3" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 6c0ce4f1-701d-484a-8975-0de0ba1f715a X-Runtime: 0.009282 Content-Length: 149
201 Created
{ "data": { "id": "21", "type": "network-types", "links": { "self": "http://example.org/api/rest/admin/system/network-types/21" }, "attributes": { "name": "name" } } }