feat: add user submission functionality
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
GET {{baseUrl}}/admin/choices/
|
||||
Authorization: Bearer {{$global.accessToken}}
|
||||
|
||||
GET {{baseUrl}}/admin/choices/1
|
||||
GET {{baseUrl}}/admin/choices/3
|
||||
Authorization: Bearer {{$global.accessToken}}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
PATCH {{baseUrl}}/admin/choices/1
|
||||
PATCH {{baseUrl}}/admin/choices/3
|
||||
Authorization: Bearer {{$global.accessToken}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"question": 4
|
||||
"text": "Option 1",
|
||||
"order": 1
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ Content-Type: application/json
|
||||
{
|
||||
"question": 4,
|
||||
"text": "Option 2",
|
||||
"value": 2,
|
||||
"order": 2
|
||||
"value": 1,
|
||||
"order": 2,
|
||||
"score": 2
|
||||
}
|
||||
Reference in New Issue
Block a user