Login   Register  
PHP Classes
elePHPant
Icontem

Does'nt Support Multipart Request..

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP OAuth API  >  All threads  >  Does'nt Support Multipart Request..  >  (Un) Subscribe thread alerts  
Subject:Does'nt Support Multipart Request..
Summary:Does'nt Support Multipart Request..
Messages:5
Author:Hee Nam-gung
Date:2013-01-25 03:36:09
Update:2013-02-10 11:02:32
 

  1. Does'nt Support Multipart Request..   Reply  
Picture of Hee Nam-gung
Hee Nam-gung
2013-01-25 03:36:09
Hi,

Your package is very good.

But, I want to upload file using this package.

But, I can not.
In source.. I can,t find multipart encoding support.

Would you upgrade your package?

  2. Re: Does'nt Support Multipart Request..   Reply  
Picture of Manuel Lemos
Manuel Lemos
2013-01-30 08:15:46 - In reply to message 1 from Hee Nam-gung
What API are you trying to access that requires multipart requests?

  3. Re: Does'nt Support Multipart Request..   Reply  
Picture of Hee Nam-gung
Hee Nam-gung
2013-01-30 08:28:50 - In reply to message 2 from Manuel Lemos
in example..

https://dev.twitter.com/docs/api/1.1/post/statuses/update_wi ...




  4. Re: Does'nt Support Multipart Request..   Reply  
Picture of Andrei Filonov
Andrei Filonov
2013-02-07 06:20:11 - In reply to message 3 from Hee Nam-gung
Looking at the same call - Twitter update with media, looks like there is not currently code in the source file for multipart upload.

  5. Re: Does'nt Support Multipart Request..   Reply  
Picture of Manuel Lemos
Manuel Lemos
2013-02-10 11:02:32 - In reply to message 3 from Hee Nam-gung
The HTTP class already supports uploading files. I just added support to specify which parameters should be submitted as files. The Twitter example has a commented out call to post a tweet attaching an image file.