NodeJs

Page Type
Meta Title
Meta Description
Category
Setup
Publish
Publish
Path
/setup/nodejs
ย 

NodeJS

You can intercept and modify network traffic from any terminal instance.

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 from.
    1. . <(curl -sS localhost:7040/tpsetup)
      Note: This command might different depending upon port availability. Checkout in Connected Apps > Terminal
      notion image
  1. If the command succeeds, you should seeย Requestly interceptionย enabled in your terminal.
  1. Now all you requests from you NodeJS server should show up in theย Network Trafficย Tab.
ย 
โš ๏ธ
โš ๏ธ CAUTION
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.
ย