# \#curl

**URL:** https://community.postman.com/tag/curl/117.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [API or Plugin For Generate C# code based on Curl](https://community.postman.com/t/api-or-plugin-for-generate-c-code-based-on-curl/55384)

<div class="topic-metadata">

**Author:** [@mithilalishan](https://community.postman.com/u/mithilalishan)\
**Replies:** 0\
**Last updated:** [December 6, 2023, 5:41pm UTC](https://community.postman.com/t/api-or-plugin-for-generate-c-code-based-on-curl/55384 "2023-12-06T17:41:55Z")

</div>

In postman we have option to generate C# code, like in the picture i attached. If i have curl , is there a way i can create a C# code passing that curl in to plugin or any API given by postman. I am in the process o…

---

## [\[Video\] How to import curl to postman request](https://community.postman.com/t/video-how-to-import-curl-to-postman-request/51515)

<div class="topic-metadata">

**Author:** [@telecoms-architect-4](https://community.postman.com/u/telecoms-architect-4)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 11:11pm UTC](https://community.postman.com/t/video-how-to-import-curl-to-postman-request/51515 "2023-09-07T23:11:25Z")

</div>

Hello I have prepared this short 2 minute video explaining how you can import culr request into postman. Hope this helps

---

## [\[Video\] How to convert postman request to curl](https://community.postman.com/t/video-how-to-convert-postman-request-to-curl/51516)

<div class="topic-metadata">

**Author:** [@telecoms-architect-4](https://community.postman.com/u/telecoms-architect-4)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 11:39pm UTC](https://community.postman.com/t/video-how-to-convert-postman-request-to-curl/51516 "2023-09-07T23:39:36Z")

</div>

Hello All, I have created this short video to explain how you can convert a postman request into a curl request. Hope it helps

---

## [Forking permission issue while doing it via curl api request](https://community.postman.com/t/forking-permission-issue-while-doing-it-via-curl-api-request/45836)

<div class="topic-metadata">

**Author:** [@aakash.gupta](https://community.postman.com/u/aakash.gupta)\
**Replies:** 0\
**Last updated:** [March 31, 2023, 7:00am UTC](https://community.postman.com/t/forking-permission-issue-while-doing-it-via-curl-api-request/45836 "2023-03-31T07:00:35Z")

</div>

My question: I am trying to fork a collection using curl request, but I get an error: {“error”:{“name”:“forbiddenError”,“message”:“You do not have enough permissions to perform this action.”}} How I found the problem: w…

---

## [Convert shell environment variables to Postman format when importing cURL](https://community.postman.com/t/convert-shell-environment-variables-to-postman-format-when-importing-curl/42013)

<div class="topic-metadata">

**Author:** [@yaeuge](https://community.postman.com/u/yaeuge)\
**Replies:** 0\
**Last updated:** [December 13, 2022, 12:24pm UTC](https://community.postman.com/t/convert-shell-environment-variables-to-postman-format-when-importing-curl/42013 "2022-12-13T12:24:20Z")

</div>

Let’s say I have some curl command. Depending on the environment it should use different set of values defined in the shell (bash) variables, e.g.: curl --location --request GET "https://${TEST\_STAND\_HOST}/test" --heade…

---

## [Invalid client id or secret](https://community.postman.com/t/invalid-client-id-or-secret/41805)

<div class="topic-metadata">

**Author:** [@narlixo](https://community.postman.com/u/narlixo)\
**Replies:** 2\
**Last updated:** [December 9, 2022, 8:15pm UTC](https://community.postman.com/t/invalid-client-id-or-secret/41805 "2022-12-09T20:15:19Z")

</div>

Hello! I am so happy to start working with Postman. All curl details are given on the Handelsbanken Developer page. This information is from their sandbox. And because I am a total beginner, I cannot find obvious error…

---

## [Where to type in cURL flags \[options\] for a request?](https://community.postman.com/t/where-to-type-in-curl-flags-options-for-a-request/39410)

<div class="topic-metadata">

**Author:** [@phferchdf](https://community.postman.com/u/phferchdf)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 10:15am UTC](https://community.postman.com/t/where-to-type-in-curl-flags-options-for-a-request/39410 "2022-09-23T10:15:20Z")

</div>

My question: I want to add the --compressed flag / option to my request. Where do I type flags / options in? Details (like screenshots): How I found the problem: As cURL as many flags / options I want to be able to…

---

## [Any way to automate getting curl request from failed test?](https://community.postman.com/t/any-way-to-automate-getting-curl-request-from-failed-test/38208)

<div class="topic-metadata">

**Author:** [@poopedurinal](https://community.postman.com/u/poopedurinal)\
**Replies:** 0\
**Last updated:** [August 15, 2022, 1:37pm UTC](https://community.postman.com/t/any-way-to-automate-getting-curl-request-from-failed-test/38208 "2022-08-15T13:37:21Z")

</div>

My question: Is there a way to automate getting curl from failed tests? Is there a way to access curl, maybe save it to a variable and display the variable value?

---

## [Laragon + Laravel: "cURL error 60: SSL certificate problem: self signed certificate"](https://community.postman.com/t/laragon-laravel-curl-error-60-ssl-certificate-problem-self-signed-certificate/33401)

<div class="topic-metadata">

**Author:** [@muhammadhassan93](https://community.postman.com/u/muhammadhassan93)\
**Replies:** 4\
**Last updated:** [March 11, 2022, 12:17pm UTC](https://community.postman.com/t/laragon-laravel-curl-error-60-ssl-certificate-problem-self-signed-certificate/33401 "2022-03-11T12:17:44Z")

</div>

Let me explain my problem as I am using Laragon for my local environment and turned on SSL in it. Also I am using Postman v9.14.12. My project is on Laravel 5.7 and I am trying to use my created APIs from Postman. Every…

---

## [Postman trusts a certificate with CN different from the host name in the URL](https://community.postman.com/t/postman-trusts-a-certificate-with-cn-different-from-the-host-name-in-the-url/31527)

<div class="topic-metadata">

**Author:** [@vineshsy](https://community.postman.com/u/vineshsy)\
**Replies:** 0\
**Last updated:** [January 13, 2022, 2:35pm UTC](https://community.postman.com/t/postman-trusts-a-certificate-with-cn-different-from-the-host-name-in-the-url/31527 "2022-01-13T14:35:56Z")

</div>

My question: The request which I am trying to execute is a presigned URL of an AWS S3 PUT request. The host name in this pre-signed URL (\<customdomain\>.com) points to the original host name of the presigned URL (\<bucke…

---

## [How to create a postman request for the below curl command?](https://community.postman.com/t/how-to-create-a-postman-request-for-the-below-curl-command/28230)

<div class="topic-metadata">

**Author:** [@praveendvd](https://community.postman.com/u/praveendvd)\
**Replies:** 0\
**Last updated:** [September 28, 2021, 10:41pm UTC](https://community.postman.com/t/how-to-create-a-postman-request-for-the-below-curl-command/28230 "2021-09-28T22:41:56Z")

</div>

Hi Everyone,:raised\_hands::raised\_hands::raised\_hands: When i do the below curl command it returns 200 : curl -X PUT "https://cucumber-messages-app-s3bucket-61aropwgu4ox.s3.eu-west-3.amazonaws.com/report-collections/63…

---

## [How to change payload option '--data' in Postman request](https://community.postman.com/t/how-to-change-payload-option-data-in-postman-request/25640)

<div class="topic-metadata">

**Author:** [@zavodchikof](https://community.postman.com/u/zavodchikof)\
**Replies:** 0\
**Last updated:** [July 9, 2021, 2:31pm UTC](https://community.postman.com/t/how-to-change-payload-option-data-in-postman-request/25640 "2021-07-09T14:31:35Z")

</div>

I need to retrieve data from external system. It successfully accept request like this: curl --data “authKey=” http://app.arnica.pro/primehill/primeHillApi/entryPoint/method/getClients But when I try to make this req…

---

## [Problem posting json object as form parameter from translated curl command](https://community.postman.com/t/problem-posting-json-object-as-form-parameter-from-translated-curl-command/25129)

<div class="topic-metadata">

**Author:** [@mike](https://community.postman.com/u/mike)\
**Replies:** 1\
**Last updated:** [June 25, 2021, 9:33am UTC](https://community.postman.com/t/problem-posting-json-object-as-form-parameter-from-translated-curl-command/25129 "2021-06-25T09:33:32Z")

</div>

Hi there, first time posting here; ive got a curl command (that ive verified works ok in curl) but translating it to Postman is proving troublesome curl --insecure --cookie SessionID="==value====" -H “Accept: applicat…

---

## [Running monitor reports serverError when monitor completes fine](https://community.postman.com/t/running-monitor-reports-servererror-when-monitor-completes-fine/22920)

<div class="topic-metadata">

**Author:** [@briffle](https://community.postman.com/u/briffle)\
**Replies:** 0\
**Last updated:** [April 20, 2021, 8:31pm UTC](https://community.postman.com/t/running-monitor-reports-servererror-when-monitor-completes-fine/22920 "2021-04-20T20:31:01Z")

</div>

My question: I am calling a postman monitor as part of our deployment process for testing. I use curl to call the monitor with: curl --max-time 900 -X POST -H "X-API-KEY:${POSTMAN\_KEY}" https://api.getpostman.com/monit…

---

## [PHP CURL .FILE output issue](https://community.postman.com/t/php-curl-file-output-issue/13541)

<div class="topic-metadata">

**Author:** [@menjilx](https://community.postman.com/u/menjilx)\
**Replies:** 0\
**Last updated:** [June 19, 2020, 6:33pm UTC](https://community.postman.com/t/php-curl-file-output-issue/13541 "2020-06-19T18:33:23Z")

</div>

Hi everyone, I am trying to use the “Generated PHP CURL” code via Postman \<?php $curl = curl\_init(); curl\_setopt\_array($curl, array( CURLOPT\_URL =\> "http://drop.cx/upload/", CURLOPT\_RETURNTRANSFER =\> true, CURL…

---

## [GET request working on Postman but not code on Terminal](https://community.postman.com/t/get-request-working-on-postman-but-not-code-on-terminal/12087)

<div class="topic-metadata">

**Author:** [@kumart654](https://community.postman.com/u/kumart654)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 9:47pm UTC](https://community.postman.com/t/get-request-working-on-postman-but-not-code-on-terminal/12087 "2020-04-20T21:47:38Z")

</div>

I am running a GET on Postman and worked fine with Status 200 ok, but when I pick up the code from Postman and running the Curl/Python on my Mac OS terminal it through a 401 error, can you please help me fix the issue. c…

---

## [Eliminate the need for escaping in cURL commands](https://community.postman.com/t/eliminate-the-need-for-escaping-in-curl-commands/8972)

<div class="topic-metadata">

**Author:** [@prontoconradcaplin](https://community.postman.com/u/prontoconradcaplin)\
**Replies:** 0\
**Last updated:** [November 13, 2019, 2:42am UTC](https://community.postman.com/t/eliminate-the-need-for-escaping-in-curl-commands/8972 "2019-11-13T02:42:32Z")

</div>

If Postman could use single quotes to surround the json blob when it generates the curl command, that would eliminate the need for all the escaping in the generated examples/commands. Is this currently possible or woul…

---

## [Import Multiple cURL into Postman](https://community.postman.com/t/import-multiple-curl-into-postman/6785)

<div class="topic-metadata">

**Author:** [@wkchooi](https://community.postman.com/u/wkchooi)\
**Replies:** 3\
**Last updated:** [August 2, 2019, 10:33pm UTC](https://community.postman.com/t/import-multiple-curl-into-postman/6785 "2019-08-02T22:33:49Z")

</div>

Hi, I’m new to postman, just want to ask is it anyway to import multiple cURL (around 100) into postman. (In 1 time) Thanks and Regards

---

## [Convert Postman Successful JSON command to Successful cURL command](https://community.postman.com/t/convert-postman-successful-json-command-to-successful-curl-command/691)

<div class="topic-metadata">

**Author:** [@SoonerLater](https://community.postman.com/u/SoonerLater)\
**Replies:** 4\
**Last updated:** [May 13, 2019, 7:08pm UTC](https://community.postman.com/t/convert-postman-successful-json-command-to-successful-curl-command/691 "2019-05-13T19:08:39Z")

</div>

I have a command that works successfully in Postman: Method: POST Address: 192.168.1.83:8080/jsonrpc Body: {“jsonrpc”: “2.0”, “method”: “Input.Up”, “id”: 1} Type: JSON (application/json) A screenshot of this is in t…

---

## [Reverse engineering an API](https://community.postman.com/t/reverse-engineering-an-api/3701)

<div class="topic-metadata">

**Author:** [@jetison](https://community.postman.com/u/jetison)\
**Replies:** 0\
**Last updated:** [January 2, 2019, 7:04pm UTC](https://community.postman.com/t/reverse-engineering-an-api/3701 "2019-01-02T19:04:36Z")

</div>

Learn how to import a single request, or capture a stream of requests using the Postman built-in proxy.
