🔘Pynt with cURL

Integrate Pynt with cURL for seamless API security testing from the command line. Automate security scans directly within your cURL workflows.

🚀 At a Glance: Pynt integrates effortlessly with cURL, allowing you to incorporate API security testing into your command-line workflows. By making HTTP requests with cURL, Pynt can automatically generate security tests and execute them without additional setup. This integration is perfect for users looking to automate security checks directly from scripts or command-line tools, ensuring that all requests are thoroughly tested for vulnerabilities.


What is cURL?

cURL is a widely used command-line tool that enables data transfer over various network protocols, including HTTP, HTTPS, FTP, and more. Developers and system administrators frequently use cURL to send requests, test APIs, download files, and debug network services. It supports a vast range of options for handling headers, authentication, and data formats, making it a flexible and powerful tool for network communication.

cURL

Setup

  1. First, make sure Pynt's prerequisites are met.

  2. Follow the instructions to install Pynt container here.


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'

💡 Pynt CLI Troubleshooting: If you're encountering issues with Pynt's CLI, visit the Pynt CLI Troubleshooting Guide for solutions and troubleshooting tips.

💡 Still Need Help? For any questions or troubleshooting, reach out to the Pynt Community Support.

Last updated