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.eyJzdWIiOiIzMzciLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTgsImV4cCI6MTc0MDE0MzU1OCwianRpIjoiZGM5NzY3ZjAtNGRlYi00MTRkLTgzZDItNjZiYTZkNDRhZGRlIn0.PCUZjunNGY9afktKJQPDpmazXYTbzM0DPtDXaRXrfa4
Host: example.org
Cookie: 

Body

{
  "faq": {
    "title": "Internal Marketing Associate",
    "content": "Ducimus necessitatibus repellat. Voluptatem perferendis et. Et quia fuga.",
    "kind": "operator"
  }
}

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/"071d81a282f62754b0bb0c39b5b5fa70"
cache-control: max-age=0, private, must-revalidate
x-request-id: ef778833-ce1e-432c-90f0-8993edf1bc29
x-runtime: 0.009475
content-length: 141

Body

{
  "faq": {
    "id": 8,
    "content": "Ducimus necessitatibus repellat. Voluptatem perferendis et. Et quia fuga.",
    "title": "Internal Marketing Associate"
  }
}