serverless-ktp-ocr
serverless-ktp-ocr copied to clipboard
Post Image
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