Sending @reply in curl

Posted by willwill on Stack Overflow See other posts from Stack Overflow or by willwill
Published on 2010-03-29T16:51:28Z Indexed on 2010/03/29 16:53 UTC
Read the original article Hit count: 286

Filed under:
|

I'm writing an identi.ca client, and seems that @reply isn't working.

After investigation I found that @ prefix is used by curl to indicate file upload, and escaping with \@reply doesn't work; curl doesn't remove the \ at the front.

I also can't format the postfields to query string, as I need to send files on that request too.

Is there any method to send both @reply and file upload in the same request?

© Stack Overflow or respective owner

Related posts about php

Related posts about curl