ContributionsMost RecentMost LikesSolutionsHow to upload and download image/files with quickbaseAm 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 ------------------------------ Cannot Insert into my table via Quickbase APII have successfully created my table, and access it via Curl in PHP. Now, am trying to insert and update my record via Curl. but each time I run my code it will display error. { "message": "Bad request", "description": "" } My token, user agent, content type will properly set in my code. Now assuming I want to insert into field username, email, name etc. This is how I send the request that triggers the error above. $post =' { "to": "mytable_id-goes-here", "data": [ { "name": "jon Ball", "email: "jon@gmail.com", "username: "jonball", } ] } '; here is the documentation link am using. Thanks https://developer.quickbase.com/operation/upsert ------------------------------ I have successfully created my table, and access it via Curl in PHP. Now, am trying to insert and update my record via Curl. but each time I run my code it will display error. { "message": "Bad request", "description": "" } My token, user agent, content type will properly set in my code. Now assuming I want to insert into field username, email, name etc. This is how I send the request that triggers the error above. $post =' { "to": "mytable_id-goes-here", "data": [ { "name": "jon Ball", "email: "jon@gmail.com", "username: "jonball", } ] } '; here is the documentation link am using. Thanks https://developer.quickbase.com/operation/upsert ------------------------------