Am trying to upload/Download an Image or a file using
Quickbase Json Restful API. what is the best way to do that.
Below is two options i have tried
1.) I upload the file to external server while saving the file name to quick base. The field type for this
text field.
2.) I converted the image file to base64 encode via
php and then created a field type
File Attachment. The issue here is that base64 encoded files cannot be saved to quickbase via Restful API Json Call with field type set to File Attachment.
here is how I did it with php
<?php
$file = 'photo.png';
$encode_File = base64_encode(file_get_contents($file));
?>
What is the best way to upload/download files via QB Json Restful API
------------------------------
Fredrick Esedo
------------------------------