Returns PUT Data.
()
| 212 | |
| 213 | @app.route('/put', methods=('PUT',)) |
| 214 | def view_put(): |
| 215 | """Returns PUT Data.""" |
| 216 | |
| 217 | return jsonify(get_dict( |
| 218 | 'url', 'args', 'form', 'data', 'origin', 'headers', 'files', 'json')) |
| 219 | |
| 220 | |
| 221 | @app.route('/patch', methods=('PATCH',)) |