Why import instead of rebuilding?
A cURL command may contain the URL, HTTP method, headers, authentication and request body. Re-entering each field wastes time and introduces typing mistakes. Import gives you a starting point that remains editable.
Example cURL request
curl https://api.example.com/users \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_TOKEN"Four-step workflow
- Copy the command. Use a cURL example from trusted API documentation, your terminal, Chrome DevTools or a teammate.
- Open TruAPI's cURL importer. Paste the command into the import flow.
- Review before sending. Check the URL, method, headers, authentication and body. Treat copied commands as code and understand where they send data.
- Test and organize. Send the request, inspect the result, replace repeated values with environment variables and save related work in a collection.
Security reminder: remove real credentials before sharing cURL commands publicly. Use a placeholder such as
YOUR_TOKEN in documentation and support messages.What to check after import
- Confirm the destination hostname is expected.
- Review authorization headers and cookies.
- Check content type and request body formatting.
- Move base URLs or reusable values into environments.
- Add response tests when the same request will be run repeatedly.