Forum Discussion
GeoffBarrenger
4 years agoQrew Captain
Hi - Just in case anyone else searches and finds this, figured it out:
------------------------------
Geoff Barrenger
------------------------------
curl -X POST 'https://domain/db/table' -H 'Content-Type: application/xml' -H 'Content-Length:' -H 'QUICKBASE-ACTION: API_DoQuery' -d ' <qdbapi> <usertoken>xxxxxxxxxxxxxxxx</usertoken> <query>{6.CT.1427445}AND{99.EX.TRUE}</query> <clist>74.104.52</clist> <slist>98</slist> </qdbapi>'
The XML format doesn't return correctly in terminal - but if you pass it as xml you can get the desired result. I still don't know why the URL version doesn't work as well - probably a formatting or quotations issue, but this turned out great.
------------------------------
Geoff Barrenger
------------------------------