MalcolmMcDonald
2 years agoQrew Cadet
Pipeline Bucket - Can it be used to accept files from API calls?
Hello fellow Quickbasers!
I am using an image processing API to compress and resize images before uploading to Quickbase. I have _most_ of it working using a FetchJSON pipeline step .. the original image goes out, and I get the correct response back from the image processing service.
The next step escapes me though -- the result is not an application/json content type, it's an image/jpg result. EG the below.
HTTP/1.1 200 OK
Compression-Count: 1
Image-Width: 530
Image-Height: 300
Content-Type: image/jpeg
Content-Length: 46480
[binary]
With just pipelines, not codepages, has anyone been able to process a result like this? The Iterate over JSON step doesn't seem to work because there's no JSON schema to reference (and it's the wrong content type) .. I'm thinking maybe a bucket step would work?
Thanks in advance!
M
------------------------------
Malcolm McDonald
------------------------------