- Accounts
- Authentication
- Exams
- Levels
Create
POST
/api/exams/choices/
Request
Body Params application/json
question
integer
required
text
string
required
is_correct
boolean
required
Example
{
"question": 1,
"text": "choice5",
"is_correct": true
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:80/api/exams/choices/' \
--header 'Content-Type: application/json' \
--data-raw '{
"question": 1,
"text": "choice5",
"is_correct": true
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-03-16 21:19:13