Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
QuickBase's API are skewed towards using XML for both the request and response. There is no JSON supported in the API. You could write a wrapper around their API that consumed JSON but it would be a very thin wrapper and probably would not be worth the effort in just this one instance of preferring JSON over XML.
That said you can upload files using Fetch and the FormData API as demonstrated here for copying file attachments between files.
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=574
This script does not even use the QuickBase API and it demonstrates that advances in the browser and web technologies are making old ways of doing things obsolete. You will not take advantage of the bounty of new features and technologies that are in your browser unless you stop relying on old ways of doing things.
That said you can upload files using Fetch and the FormData API as demonstrated here for copying file attachments between files.
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=574
This script does not even use the QuickBase API and it demonstrates that advances in the browser and web technologies are making old ways of doing things obsolete. You will not take advantage of the bounty of new features and technologies that are in your browser unless you stop relying on old ways of doing things.
AdrienGregorj
8 years agoQrew Trainee
Thanks for that instructive answer. I definitely need to dive into the Fetch API...
Like your eclipse btw,
Cheers
Like your eclipse btw,
Cheers