AnsweredAssumed Answered

Error creating new page via API

Question asked by Jesse Burant on Jan 31, 2017
Latest reply on Feb 2, 2017 by Jesse Burant

I am trying to create a new page in a course via the API.  I have gotten the API to do all sorts of things already, but I don't get why I am getting this 400 Bad Request error:


{"errors":{"title":[{"attribute":"title","type":"Title can't be blank","message":"Title can't be blank"}]}}


when I post the following to :


"wiki_page[title]":"New Page via API",
"wiki_page[body]":"This would be the body of the new page",


I have tried it without the "wiki_page" prefixes and that didn't seem to make any difference.


I feel like I must be missing something obvious.