-
Notifications
You must be signed in to change notification settings - Fork 3
XML Upload
Robert S.W. Carroll edited this page May 20, 2022
·
1 revision
The QuickBase JSON API has a payload limit of 10MB. This can make uploading large files difficult. While not strictly JSON, xml-upload is an included function that can be found in helpers
.
qbc = QBClient(...)
# note the 'rb' argument, must be bytes!
xml_upload(qbc, tbid='...', rid=118, fid=24, file=open('path/to/img.jpg', 'rb'), filename='qb-upload.jpg')