🔘Pynt with curl

Curl

Curl is a command-line tool used for transferring data using various network protocols. It supports protocols like HTTP, HTTPS, FTP, and more, making it a versatile tool for interacting with the web and servers. You can use curl to download files, upload data, and even test APIs by sending requests directly from the terminal.

Example of Pynt with curl

Pynt can work even on a single curl line, just add the following:

  1. --proxy 127.0.0.1:6666

  2. --insecure

  3. escape all " to '/"

For example running on one request to goat application:

pynt command --cmd 'curl --location '\''http://44.202.3.35:6000/account'\'' \
--header '\''Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJhYTc4NmI5ZS03NDZiLTQ4M2EtYTI2YS0xMDVlZjBmNDY2ZTYifQ.5wiIckUlguqJRUY36szfN0K3FLsfT34tXey_K4JPYIk'\'' \
 --insecure --proxy 127.0.0.1:6666'

Last updated