Just wanted to share with appgyver users that posting and retrieving images will not work unless you create an object list to store both the downloadURL and the storageKey. You can do this by creating a column with JSON data type in backendless.
I’ve never tried the UI builder, and dropsource comes with a hefty price tag. So lately, I’ve been testing appgyver for frontend mobile dev (react native), and using backendless as the backend. It seems to be working well.
Hi
Thanks @l_r for the information.
It’ll be great if you can post your code (sorry no-code ). I’m newbie to both AppGyver and Backendless and I’m facing the same issue.
Regards
I deleted my test app due to some issues with uploading images on newer android devices. The issue was unrelated to backendless. Appgyver has a runtime error that they are working through, and resolving in the next update. Older devices still work
This is not correct. You simply need a text column. You can convert to base 64 with appgyver, and concatenate with data:image/png;base64.
Example: PickImageFromLibrary => Set App Variable => Convert to base 64 => Create Record.
When converting to base64 concatenate using formula “data:image/png;base64” + output of app variable. And app variable is simply the path from the pick images from library.
Backendless DB Column type = JSON
Appgyver request is type = Object, replace id with an identifier like imageURL with type = text, then run your test under post.
You will need one app variable.
And you will need one page variable.
App variable is to store image static url and to set image path from pick images from library.
Page variable stores base 64 + prefix
To retrieve image, run test, store response schema, create data variable, then bind the image to the imageUrl.
Hey is there any chance you could post the API URL you are using for the create record call? I’ve tried to set this up as per your screen shots and I’m getting an 8002 error - could not parse request with message