Pro PHP Guzzle tip: if you need to send a file resource, don't pass in 'Content-Type: multipart/form-data' yourself in the headers. You've just won a couple of hours of your life.

Add reply

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
Have you written a response to this? Let me know the URL by sending a webmention.