How to parse the POST argument to a REST service?
问题 It seems I have another JSON problem, this time when posting to the REST service. I am using Flask-Restful . api.add_resource(Records, '/rest/records/<string:email>/<string:password>/<string:last_sync_date>') parser = reqparse.RequestParser() parser.add_argument('record_date', type=str) parser.add_argument('records', type=str) parser.add_argument('rating', type=str) parser.add_argument('notes', type=str) class Records(Resource): def post(self, email, password, last_sync_date): args = parser