php-mod / curl

This library provides an object-oriented and dependency free wrapper of the PHP cURL extension.
MIT License
328 stars 120 forks source link

Basic Usage Help #32

Closed JordashTalon closed 2 years ago

JordashTalon commented 7 years ago

I'm trying to figure out how to do this CURL command:

curl https://uploads.stripe.com/v1/files \ -u sk_test_OCHANGEDPcDr0: \ -F purpose=identity_document \ -F file="@/path/to/a/file.jpg"

With this PHP script? What would be the equivalent PHP command?

halfer commented 7 years ago

@JordashTalon - that's probably better as a question on Stack Overflow (or similar). If you can show what code you have presently, and where you think it is getting stuck, that is often helpful.

nadar commented 6 years ago

@JordashTalon The instruction and the problem is maybe related to https://github.com/php-mod/curl/issues/46

nadar commented 2 years ago

I am going to close this issue because:

If you think this is still important or there are more/new informations. Please reopen the issue and let us know.