edgurgel / httparrot

HTTP Request & Response Server. An incomplete clone of http://httpbin.org
https://httparrot.onrender.com/
MIT License
86 stars 27 forks source link

Fixing /ip to use client's ip when available #28

Closed hveiras closed 7 years ago

hveiras commented 7 years ago

Fixes #14.

Demo: http://gentle-meadow-49795.herokuapp.com/ip

edgurgel commented 7 years ago

Now we just need to update GeneralRequestInfo to do the same as /get and others will return origin also. Thanks @hveiras for starting this! 1.0.1 is out with your PR merged in.