Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: python3 + Flask + SQLite = HTTP 400
Post: RE: python3 + Flask + SQLite = HTTP 400

It's working! Thanks for your help. I had to make 2 changes: In main.py changed line 9 to read body = ({'message': desc}) #notice the addition parentheses. In main.py changed line 14 to read json...
supertoy Web Scraping & Web Development 5 5,630 Jan-30-2018, 02:13 PM
    Thread: python3 + Flask + SQLite = HTTP 400
Post: RE: python3 + Flask + SQLite = HTTP 400

It does not work without the database either. Same response. This is the full output. * Restarting with stat * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit) 127.0.0.1 - - [29/Jan/2018 ...
supertoy Web Scraping & Web Development 5 5,630 Jan-29-2018, 07:45 PM
    Thread: python3 + Flask + SQLite = HTTP 400
Post: RE: python3 + Flask + SQLite = HTTP 400

Git link used in original post is out-of-date. Updated: https://github.com/thesupertoy/SideWork
supertoy Web Scraping & Web Development 5 5,630 Jan-29-2018, 07:14 PM
    Thread: python3 + Flask + SQLite = HTTP 400
Post: python3 + Flask + SQLite = HTTP 400

I'm still learning python so I could be missing something obvious. I've followed a bunch of different tutorials but nothing seems to be showing me how to fix my specific issue. I'm trying to POST dat...
supertoy Web Scraping & Web Development 5 5,630 Jan-29-2018, 03:43 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020