Skip to main content
This document explains how to use the axios library in Node.js to make HTTPS requests through the YumiProxy proxy service and retrieve response data from ipinfo.io. Two implementation approaches are provided: the new axios (recommended) using https-proxy-agent, and the simpler syntax for older axios (v0.x).

Method 1: New axios (v1.x+)

yumiproxy_demo.js

Method 2: Legacy axios (v0.x)

yumiproxy_demo.js
After completing the above steps, you have successfully integrated YumiProxy with your program, providing a safer and more flexible option for network connections. If you have any questions or suggestions while using our service, please don’t hesitate to reach out. We’d love to hear your feedback and are always happy to help.