Node.js

Steps

  1. Click on Connect apps button and a popup modal will open. Under Terminal processes section, click on Setup instruction for Terminal.
  1. Copy the command shown and paste it in terminal where you will start your NodeJS server in.

    . <(curl -sS localhost:7040/tpsetup) 
    

Note: This command might be different depending upon port availability. Checkout in Connected Apps > Terminal

  1. If the command succeeds, you should see Requestly interception enabled in your terminal.

https requests in axios might not show up properly in Network Traffic tab due to the way axios handles HTTPS requests. But the actual request will work properly in your code as expected.

Checkout Github Issue for more explanation and quick hack on how to apply rules on these requests

Testing Proxy

  1. Go to Network Traffic tab in Requestly Desktop App.
  1. Now Make a curl request to https://amiusing.requestly.io/ using your terminal and look for that request in the Requestly Network Interceptor.
Updated on