Create a faq(admin)
Faqs
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.eyJzdWIiOiIzNTYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0NDAsImV4cCI6MTc2MzU0MjQ0MCwianRpIjoiYTBkMGM5M2UtNWYxYy00MTY2LThjNzgtNzQ0NmYwZTFmNmNjIn0.wAfZ6kmx7DPiBJ1WaXhh2DVivpSCxEqB8P1b9AMg5o8
Host: example.org
Cookie:
Body
{
"faq": {
"title": "Lead Technology Executive",
"content": "Consectetur sit tempora. Rerum sed laudantium. Est cupiditate laboriosam.",
"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/"cb9bef20d3ef3106d4be5dc93da873bf"
cache-control: max-age=0, private, must-revalidate
x-request-id: a3994020-e2db-4980-87ac-cc42a476cbe4
x-runtime: 0.007242
content-length: 138
Body
{
"faq": {
"id": 8,
"content": "Consectetur sit tempora. Rerum sed laudantium. Est cupiditate laboriosam.",
"title": "Lead Technology Executive"
}
}