Hi! thank you for showing interest in this post. The idea here is to fetch data from a backend server using a link provided by the backend.. If you would like to create something like this you can start learning how Rest Api works..
Hey
I actually made several rest API's (nodejs) but I could find proper source or information to make an API to get IP address without 3rd part api's. Is there any proper resource to do it? Or can you write a post on that would love to read it .
Thank you
I think for js you have to use libraries to do it... If you have tried python I think its easier in python language.... but anyway, Ill try to search about it and make a post about it also :)
how to make an api like these sites ?
just look for
X-Forwarded-For
in your request header.if you're using express.js something like this should work:
So if I make a http request to the end I will get the public IP address?
yes, it's show you the IP address of a client connecting to your web server (which in your case is Express.js)
developer.mozilla.org/en-US/docs/W...
Will try it out
Thank you so much 🥰❤️
get-ip-eight.vercel.app/ working thanks
anyway to get ip location without third party api
Hi! thank you for showing interest in this post. The idea here is to fetch data from a backend server using a link provided by the backend.. If you would like to create something like this you can start learning how Rest Api works..
Hey
I actually made several rest API's (nodejs) but I could find proper source or information to make an API to get IP address without 3rd part api's. Is there any proper resource to do it? Or can you write a post on that would love to read it .
Thank you
I think for js you have to use libraries to do it... If you have tried python I think its easier in python language.... but anyway, Ill try to search about it and make a post about it also :)
Thanks man really appreciate it