Send an email with user's question
POST musora-api/submit-question
- Only authenticated user can access the endpoint
path|query|body | key | required | description |
---|---|---|---|
body | question | yes | Question text |
$.ajax({
url: 'https://www.musora.com' +
'/musora-api/submit-question',
type: 'post',
dataType: 'json',
data:{
"question":"Lorem ipsum"
},
success: function(response) {
// handle success
},
error: function(response) {
// handle error
}
});
{
"success": true,
"title": "Thanks for your submission!",
"message": "Your question has been submitted successfully and will be scheduled into one of our weekly Question and Answer sections! You will receive an email so you can check it out live, or here in the archives when you have time."
}