Sending JSON through requests module and catching it using bottle.py and cherrypy
问题 I have a server which needs to be able to accept JSON and then process it and then send JSON back. The code at my server side is using bottle.py with cherrypy . The route in concern is the following: @route ('/tagTweets', method='POST') def tagTweets(): response.content_type = 'application/json' # here I need to be able to parse JSON send along in this request. For requesting this page and testing the functionality, I'm using requests module code: The data that I have to send is list of