Returns request data.
(anything=None)
| 197 | @app.route('/anything', methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'TRACE']) |
| 198 | @app.route('/anything/<path:anything>', methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'TRACE']) |
| 199 | def view_anything(anything=None): |
| 200 | """Returns request data.""" |
| 201 | |
| 202 | return jsonify(get_dict('url', 'args', 'headers', 'origin', 'method', 'form', 'data', 'files', 'json')) |
| 203 | |
| 204 | |
| 205 | @app.route('/post', methods=('POST',)) |