Quick C Curl based call to api.ipify.org
C Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
ipify.c

README.md

API call to ipify in C using libcurl

Just a quick C program making a call to ipify and print the IP as JSON format.

Build and Run

$ make && ipify

Test

$ make test
{"ip":"167.220.196.18"}
success

License

MIT