How to import cURL into Postman: paste the command and get a ready request
Docs, chats and the browser Network tab hand you a request as a cURL command. There is no need to retype the URL, headers and body: Postman parses the command itself. There are two ways, and they give different results.
The quick way: paste into the URL box
Create a new HTTP request and paste the whole cURL command into the URL box. Postman splits it into the method, URL, headers and body. The request is not saved anywhere: handy when you need to send it once.
curl -X POST https://api.example.com/orders \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{TOKEN}}" \
-d '{"sku":"A-1","qty":2}'Import into a collection
In your workspace click Use resources or import and select Import. Paste the command into the text box at the top; for several requests paste several commands. Under Collection name pick a collection: the list shows only existing ones. Review the Imports as summary and click Import. cURL commands always import into a collection, and along with the request Postman creates an environment with a baseUrl variable.
What to check after the import
Open the request and compare four things: the method, URL, headers and body. Quotes break most often: a command from Windows cmd escapes them differently from bash, and the body may arrive cut off. Look separately at the Authorization header and cookies: a copied command often carries a live token, and after the import it stays in the collection. Replace it with a variable before you share the collection.
The reverse: cURL from Postman
Open the request, click Code in the right sidebar, select cURL from the list and click Copy. Details and common mistakes are in the guide on copying cURL from Postman.
An import is not a check yet
After the import you have a request that sends. It does not prove the response is right: that is a separate step. Checkcraft imports a cURL command too, and then you can add no-code rules for the response fields and save them as a check.
Repeat this on your own API
Checkcraft is a desktop app that saves API response checks without code and shows what did not match. Start with a sample, then use your own sanitized data. Free runs on Windows and Linux with no time limit.
Download FreeDownload and first runNo sign-up or email needed, the archive is ready in a couple of minutes. See the edition limits.
References
Start with the linked example and compare its result with your own test requirement.