Timeline for pset7 C$50 finance check50 error expected status code 200, but got 400
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2018 at 0:19 | vote | accept | Ryan | ||
Jun 8, 2018 at 0:19 | vote | accept | Ryan | ||
Jun 8, 2018 at 0:19 | |||||
Jun 8, 2018 at 0:16 | comment | added | Ryan | thank you curiouskiwi! that was my error... | |
Jun 7, 2018 at 23:40 | comment | added | curiouskiwi♦ |
In your index, you say: if not securities: return apology("error retreiving securities", 400) Why are you returning 400 if the user hasn't purchased any stocks yet? That would certainly be the case when a user has just registered.
|
|
Jun 7, 2018 at 23:39 | comment | added | Ryan |
Thanks for your response. I did implement index() . In case I made a mistake of some sort, I've included the code for index() and the markup for index.html in my question.
|
|
Jun 7, 2018 at 0:19 | history | answered | curiouskiwi♦ | CC BY-SA 4.0 |