serverless-ktp-ocr icon indicating copy to clipboard operation
serverless-ktp-ocr copied to clipboard

Post Image

Open agussang opened this issue 5 years ago • 0 comments

untuk post image nya bagaimana ya, saya coba dengan curl_setopt($ch, CURLOPT_URL, 'https://XXXXXXX.cloudfunctions.net/http-ktp');

//Create a POST array with the file in it $postData = array( 'user_id' => 'cok', 'image' => '/var/tmp/KTP.jpeg', ); curl_setopt($ch, CURLOPT_POSTFIELDS, $postData); tapi dapat return

Error: image is not provided at Busboy.busboy.on

Terima Kasih

agussang avatar Jul 19 '19 06:07 agussang