Intercept Traffic from your terminal

Learn how to set up the Requestly proxy in the terminal to intercept and modify terminal requests effortlessly.

Steps

1

Open Connected Apps

Go to the Requestly desktop app and click on the Connect apps button. A popup modal will appear.

Requestly Desktop App

2

Locate Terminal Processes

In the popup modal, navigate to the Terminal processes section. Click on Setup instruction for Terminal.

Terminal process tab in requestly

3

Copy the Setup Command

You will see a command displayed in the setup instructions. Copy the command. It will look something like this:

<(curl -sS localhost:7040/tpsetup)

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

Terminal proxy setup steps

4

Run the Command in Terminal

Open the terminal where you will start your Node.js server and paste the copied command. Press Enter to execute it.

If the command runs successfully, you should see a confirmation message in your terminal indicating that Requestly interception is enabled.

Executing interception setup command

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.
curl https://amiusing.requestly.io/
  1. You should see the Request in the Network Traffic Table.

    Requestly Dashboard

Updated on