How to Upload to Application from PHP

How to Upload to Application from PHP

Hi everyone, i have been using Zoho Creator for a while now and it has been amazing, however i tried uploading to my application using Guzzle PHP library but i always get an error. Please any help would be very much appreciated.


  1. $client = new \GuzzleHttp\Client([ 'verify' => false ]);
    $client -> request( 'POST', $zoho_url, array( 'Content-Type' => 'multipart/form-data'), array(), array(), [
    'form_params' => [
    'applinkname' => 'appname',
    'zc_ownername' => 'owner',
    'formname' => 'Upload_Form',
    'fieldname' => 'Picture',
    'recordId' => '8828000000302012',
    'filename' => 'image.png',
    'file' => fopen( 'parrot.jpg', 'rb')
    ]
    ]);