MCPcopy
hub / github.com/postmanlabs/httpbin / view_anything

Function view_anything

httpbin/core.py:199–202  ·  view source on GitHub ↗

Returns request data.

(anything=None)

Source from the content-addressed store, hash-verified

197@app.route('/anything', methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'TRACE'])
198@app.route('/anything/<path:anything>', methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'TRACE'])
199def 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',))

Callers

nothing calls this directly

Calls 2

jsonifyFunction · 0.85
get_dictFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…