Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.69 KB

SubmitStudentFocus.md

File metadata and controls

59 lines (47 loc) · 1.69 KB

Submit student focus

Submit student focus

HTTP Request

POST musora-api/submit-student-focus-form

Permissions

- Only authenticated user can access the endpoint

Request Parameters

path|query|body key required description
body experience yes
body improvement yes
body weakness yes
body instructor_focus yes
body goal yes

Request Example:

$.ajax({
    url: 'https://www.musora.com' +
        '/musora-api/submit-student-focus-form',
    type: 'post',
    dataType: 'json',
    data:{
        "experience":"Lorem ipsum",
        "improvement":"Lorem",
        "weakness":"Lorem ...",
        "instructor_focus":"cccc",
        "goal":"test"
    },
    success: function(response) {
        // handle success
    },
    error: function(response) {
        // handle error
    }
});

Response Example (200):

{
  "success": true,
  "title": "Thanks for your submission!",
  "message": "Your submission has been sent to a Drumeo Instructor. Typically, they'll email you within 48 hours to let you know when your review and custom Student Plan will be ready!"
}