You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the section "Adding new comments" we start laying down the structure and the code required to add new comments to the json file though POST requests, and yet the Python module SimpleHTTPServer does not implement POST: in the doc you can see that only do_GET and do_HEAD are implemented.
In the section "Adding new comments" we start laying down the structure and the code required to add new comments to the json file though POST requests, and yet the Python module
SimpleHTTPServer
does not implement POST: in the doc you can see that onlydo_GET
anddo_HEAD
are implemented.A solution is to use a custom HTTP server which implements also POST, such as in http://sheep.art.pl/Wiki%20Engine%20in%20Python%20from%20Scratch
or maybe update the tutorial to reflect the implementation in this repository, with node.js.
The text was updated successfully, but these errors were encountered: