feat add questions module and admin routes
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
POST http://localhost:3000/admin/questions
|
||||
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEwLCJwaG9uZSI6IjA5MzMzMDI2MzYzIiwiaWF0IjoxNzgxMTYyMTUxLCJleHAiOjE3ODExNjU3NTEsImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6ImxvY2FsaG9zdCJ9.Z4oBnTrD-wTTlcThCSGslRco_HJhnQJpg-reGubTUec
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"test": 4,
|
||||
"content": "سوال پنجم",
|
||||
"order": 4,
|
||||
"required": true,
|
||||
"type": "numeric",
|
||||
"metadata": { "min": 1, "max": 100 }
|
||||
}
|
||||
Reference in New Issue
Block a user