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

Function view_origin

httpbin/core.py:161–164  ·  view source on GitHub ↗

Returns Origin IP.

()

Source from the content-addressed store, hash-verified

159
160@app.route('/ip')
161def view_origin():
162 """Returns Origin IP."""
163
164 return jsonify(origin=request.headers.get('X-Forwarded-For', request.remote_addr))
165
166
167@app.route('/uuid')

Callers

nothing calls this directly

Calls 1

jsonifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…