问题 I was working with google Vision API. When I curl in command line it gives me status 200 OK with the following command: curl -v -k -s -H "Content-Type: application/json" https://vision.googleapis.com/v1/images:annotate?key=API_KEY --data-binary @base64.json But when I use it with PHP, I get an return message: { "error": { "code": 400, "message": "Invalid JSON payload received. Unable to parse number.\n--------------------\n^", "status": "INVALID_ARGUMENT" } } try { $post = array( 'file' => '