Faqs

Create a faq(admin)

POST faq(admin)

Endpoint

POST /api/v1/faqs

Request

Route

POST /api/v1/faqs

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzNjYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjksImV4cCI6MTc2NjIxODM2OSwianRpIjoiODgzYjU0NDgtMzhhZi00NTI5LTliNzYtNTY2YjE1N2E5YzY1In0.foJMojHjWpb_G3oO-iamdk1dRA8vuRji_8fUR129KKE
Host: example.org
Cookie: 

Body

{
  "faq": {
    "title": "Direct Orchestrator",
    "content": "Dolore et qui. Sit odit saepe. Dolorem quos rem.",
    "kind": "driver"
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"f9535999afe7128b29ae1813215e9f08"
cache-control: max-age=0, private, must-revalidate
x-request-id: 661c80a3-4668-4a38-a8f6-a8959ed5ac3c
x-runtime: 0.007860
content-length: 107

Body

{
  "faq": {
    "id": 8,
    "content": "Dolore et qui. Sit odit saepe. Dolorem quos rem.",
    "title": "Direct Orchestrator"
  }
}