# \#php

**URL:** https://community.postman.com/tag/php/183.md

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

---

## [PHP-cURL code with multiple uploaded files](https://community.postman.com/t/php-curl-code-with-multiple-uploaded-files/74703)

<div class="topic-metadata">

**Author:** [@joint-operations-p14](https://community.postman.com/u/joint-operations-p14)\
**Replies:** 1\
**Last updated:** [January 31, 2025, 10:38am UTC](https://community.postman.com/t/php-curl-code-with-multiple-uploaded-files/74703 "2025-01-31T10:38:53Z")

</div>

I have a request with multiple files on a variable called files. The request runs correctly in Postman. I need it to run in PHP. The Generated PHP-cURL code looks wrong. It contains: CURLOPT\_POSTFIELDS =\> array(‘files’…

---

## [How to export an api with an url parameter and use it](https://community.postman.com/t/how-to-export-an-api-with-an-url-parameter-and-use-it/51683)

<div class="topic-metadata">

**Author:** [@aviation-candidate14](https://community.postman.com/u/aviation-candidate14)\
**Replies:** 1\
**Last updated:** [September 13, 2023, 9:33am UTC](https://community.postman.com/t/how-to-export-an-api-with-an-url-parameter-and-use-it/51683 "2023-09-13T09:33:14Z")

</div>

how to export an api with an url parameter and use it in a php file. i didnt work with php and postman before so if you could help me that would mean me a lot.

---

## [Send Function arguments](https://community.postman.com/t/send-function-arguments/27142)

<div class="topic-metadata">

**Author:** [@majortom84](https://community.postman.com/u/majortom84)\
**Replies:** 0\
**Last updated:** [August 25, 2021, 5:03pm UTC](https://community.postman.com/t/send-function-arguments/27142 "2021-08-25T17:03:24Z")

</div>

How do we pass args to a function via Postman: I am trying to pass args to this function from postman.But, have had no luck sending the $text. Details (like screenshots): public function textValidation($text){ if (!p…

---

## [Response not updating](https://community.postman.com/t/response-not-updating/22757)

<div class="topic-metadata">

**Author:** [@oliver.chapman2805](https://community.postman.com/u/oliver.chapman2805)\
**Replies:** 4\
**Last updated:** [April 21, 2021, 8:23am UTC](https://community.postman.com/t/response-not-updating/22757 "2021-04-21T08:23:03Z")

</div>

Hi, I am trying to develop a PHP RESTful API and when i send a request, the response doesn’t change. I am using the same URL every time. I can tell it is not updating as there is one bit in the API I commented out, th…

---

## [PHP cURL generated code syntax not escaping double quotes](https://community.postman.com/t/php-curl-generated-code-syntax-not-escaping-double-quotes/21131)

<div class="topic-metadata">

**Author:** [@mcdermottmb](https://community.postman.com/u/mcdermottmb)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 5:10pm UTC](https://community.postman.com/t/php-curl-generated-code-syntax-not-escaping-double-quotes/21131 "2021-03-08T17:10:17Z")

</div>

PHP cURL generated code no longer escapes double quotes. It used to but now it has to be manually updated before using in a PHP script. Is there any way to update the way this code is generated so it includes the prope…

---

## [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…

---

## [The request works fine but the code doesn't](https://community.postman.com/t/the-request-works-fine-but-the-code-doesnt/13187)

<div class="topic-metadata">

**Author:** [@jonathonphilipchambe](https://community.postman.com/u/jonathonphilipchambe)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 3:16am UTC](https://community.postman.com/t/the-request-works-fine-but-the-code-doesnt/13187 "2020-06-08T03:16:24Z")

</div>

I’m sure this is a very broad category of error, and I’d like to learn how to isolate the problem myself, but I’ve got a request that runs fine in Postman. When I exported the code (PHP - HTTP\_Request2), I got the OAuth2…

---

## [How to make a custom PHP cURL GET Request with Postman? \*](https://community.postman.com/t/how-to-make-a-custom-php-curl-get-request-with-postman/11881)

<div class="topic-metadata">

**Author:** [@MikroTechZA](https://community.postman.com/u/MikroTechZA)\
**Replies:** 2\
**Last updated:** [April 20, 2020, 8:51pm UTC](https://community.postman.com/t/how-to-make-a-custom-php-curl-get-request-with-postman/11881 "2020-04-20T20:51:02Z")

</div>

Hi guys! :slight\_smile: I’ve just downloaded Postman and learning to get started. It seems pretty straight-forward with making requests to REST API based servers, although I need to make a very specific PHP cURL request…

---

## [How to make a custom PHP cURL GET Request with Postman?](https://community.postman.com/t/how-to-make-a-custom-php-curl-get-request-with-postman/11625)

<div class="topic-metadata">

**Author:** [@MikroTechZA](https://community.postman.com/u/MikroTechZA)\
**Replies:** 2\
**Last updated:** [April 18, 2020, 4:33pm UTC](https://community.postman.com/t/how-to-make-a-custom-php-curl-get-request-with-postman/11625 "2020-04-18T16:33:28Z")

</div>

Hi guys! :slight\_smile: I’ve just downloaded Postman and learning to get started. It seems pretty straight-forward with making requests to REST API based servers, although I need to make a very specific PHP cURL request…

---

## [Build POSTMAN Collection From Input Requests](https://community.postman.com/t/build-postman-collection-from-input-requests/1905)

<div class="topic-metadata">

**Author:** [@gregambrose](https://community.postman.com/u/gregambrose)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 2:51pm UTC](https://community.postman.com/t/build-postman-collection-from-input-requests/1905 "2018-06-19T14:51:11Z")

</div>

Hi, I wrote a very useful PHP I’d like to share. Its on GitHub as below. It allows all incoming web service requests to be logged in a POSTMAN collection. I can have the client software make all the API calls to my w…
