CURL -d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have this lines:
            curl -H "Content-Type: application/json" -d "hello world" \
            "http://api.pusherapp.com/apps/17331/channels/test_channel/events?"\

The option -d is for data. But How I can set it on the PHP  CURL extension?
I have found that if I set something like array('Hello Word', 'name'
=> 'my_name'), for the POST data may occurs. Can you give me a  little
help?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux