SFII / scq

Our main repo for the SCQ senior project.
8 stars 6 forks source link

ajax GET is working, we have live data! #83

Closed Brady76 closed 8 years ago

Brady76 commented 8 years ago

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.