I’m working with an API that requires file data to be sent as binary. I have tried using the file converter plugin to convert to binary and then the API Connector plugin to sent but can’t figure out how to send it to the API as a POST properly as I continually get an error.
I’ve attached below how I have it set up in Bubble.
Brandon, would you be able to post the error you receive on this (if you haven’t already figured this out)? A long while back I was trying to send binary very similarly to Wrike - A project management tool. I didn’t get as far as you did though. I could never get it to send like it would using Postman.
Hey Brandon - Had a breakthrough here. What you need to do is to not use the binary “converter”. What you need to do is change the “Body type” of your call to “Form-data”. Then, the value of the key becomes the actual image. Make sure to check “Send file”. This will allow you to send the file through the API!
I spoke to the developers of the API I’m posting to and they said it’s because the data needs to be sent as binary and apparently it’s not currently with Bubble.