Answering questions (Quiz submission API)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2015
10:25 AM
I cannot figure out how to submit an answer to a question using this API: Quiz Submission Questions - Canvas LMS REST API Documentation
I have created my request (I'm using guzzle) like so:
URL:
POST parameters:
{
"attempt": "1",
"validation_token": "my_validation_token",
"quiz_questions": [
{
"id": "my_question_id",
"answer": 1
}
]
}
I keep getting a 403 Forbidden error
Any ideas of what I may be missing?
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2015
12:23 PM
In your URL, the first instance of "access" appears to be missing an "s."