Add Assignment via API

evanrenselaar
Community Novice

I am trying to add an assignment to an existing course through the Canvas API but I am getting the following message. 

{
    "errors": [
        {
            "message""assignment is missing"
        }
    ]
}
I am doing a POST with the following payload:
{"assignment[name]": "Erik Test", "assignment[description]": "TEST"}.
Any guidance would be much appreciated!
0 Likes