curl icon indicating copy to clipboard operation
curl copied to clipboard

set body on put

Open ghost opened this issue 10 years ago • 1 comments

how do you set the Curl body on put? I want to send a json body as part of my request to the endpoint and I don't see an "setBody" option of sorts.

ghost avatar May 04 '15 21:05 ghost

I think #21 addresses this issue. A body should be set with the second argument:

$curl->put($url, $payload);

zurborg avatar Jan 04 '16 15:01 zurborg

I am going to close this issue because:

  • Missing information's
  • No more activity
  • No one picked up the task (no Pull Request received)

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

nadar avatar Aug 29 '22 08:08 nadar