Ok, so if a user and a course exists, we've successfully created and enrollment and an attempt for the person. I guess we just have to try and push it now...
This commit is contained in:
Binary file not shown.
@ -39,7 +39,7 @@ def post(url, payload):
|
||||
return json_post
|
||||
except JSONDecodeError as e:
|
||||
print(f"Error occurred. Here's the info: {e}.")
|
||||
# print(f"PostResponse: {post_response}")
|
||||
print(f"PostResponse: {post_response.text}")
|
||||
return post_response
|
||||
finally:
|
||||
# PP.pprint(json_get)
|
||||
|
||||
Reference in New Issue
Block a user