on 10-17-2022 9:59 PM
I am using the HTTPRequest object from the marketplace. it works when i am posting some json file or a form... however, i need to post a binary string (I am trying to upload an image to an API) This exercise works from POSTMAN since I am able to select binary as the body type. I also tried typing binary but it errors out.
appgyver only allows "json" or "x-www-form-urlencoded" is there a way for me to use this component but change the body type? i think it is a limitation.
With the "HTTP Request" flow function you can send json and form data.
You can send files via "File upload". In some cases you need more flexibility to customize the requrests, here I recommend using a JavaScript flow function node to specify the request lofic.
In the JavaScript node you will have "fetch" available by default, see an example here https://forums.appgyver.com/t/how-to-upload-files-to-backendless-step-by-step/6431
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.