shuber / curl

A basic CURL wrapper for PHP
MIT License
462 stars 179 forks source link

server didn't get $_POST when $curl->post(url,data) #7

Open clawfire opened 12 years ago

clawfire commented 12 years ago

hi, When i make a command line curl -d "data=plop" url , my server running php script get the $_POST filed with data=plop but when i use your library, i must make a file_get_content(php://input) to get the data.

Why ? :(