![I have a little function which fetches the IP address of the user. It returns it and stores it in a variable. However, when I log the variable, it shows undefined. Does I have a little function which fetches the IP address of the user. It returns it and stores it in a variable. However, when I log the variable, it shows undefined. Does](https://preview.redd.it/l3yb17epc5791.jpg?auto=webp&s=74861a01c559c3df836dd102e2edf89acd37a093)
I have a little function which fetches the IP address of the user. It returns it and stores it in a variable. However, when I log the variable, it shows undefined. Does
![Extract value from a JSON Response Body via the Test Scripts - 🌱 Just Getting Started - Postman Community Extract value from a JSON Response Body via the Test Scripts - 🌱 Just Getting Started - Postman Community](https://global.discourse-cdn.com/getpostman/original/3X/a/1/a1d4b9cb9cb3a98a8276790baf4510377a19903b.png)
Extract value from a JSON Response Body via the Test Scripts - 🌱 Just Getting Started - Postman Community
![Why do I get the IP Address in my Angular 13 application using api.ipify.org in development but not in the production environment? - Stack Overflow Why do I get the IP Address in my Angular 13 application using api.ipify.org in development but not in the production environment? - Stack Overflow](https://i.stack.imgur.com/EZ6Zp.png)