Next up is ajax POST. Sam updated the testing framework so upon submission of the POST the ajax thinks it's working fine but if you look in the make serve terminal after doing so you'll see that the handler requires certain fields in the JSON so it's failing on the back end like so: ERROR:root:[('user_id', 'Missing field: user_id'), ('survey_id', 'Missing field: survey_id'), ('answer_id', 'Missing field: answer_id')]
So next up is formatting the JSON so that the handler will take it.
Next up is ajax POST. Sam updated the testing framework so upon submission of the POST the ajax thinks it's working fine but if you look in the make serve terminal after doing so you'll see that the handler requires certain fields in the JSON so it's failing on the back end like so:
ERROR:root:[('user_id', 'Missing field: user_id'), ('survey_id', 'Missing field: survey_id'), ('answer_id', 'Missing field: answer_id')]
So next up is formatting the JSON so that the handler will take it.