REST API configuration with Back4App database

Hi guys,

I’m trying to use my Back4App database as a REST API with AppGyver.

I added https://parseapi.back4app.com/classes/Food as my resource url in AppGyver.

I also added 2 HTTP Header in my AppGYver GET CONFIG, one with X-Parse-Application-Id as Key and with the id as Value, and the other one with X-Parse-REST-API-Key as Key and with the REST API key as Value.

I finally added a Query parameter with Where as Key and { “category”:“A string”,“food”:“A string”,“arrack”:1,“cider”:1,…,“boiled_turkey”:1 } as Value.

I have this error: Failed to fetch. Does the server allow CORS?status: undefined

Someone can help me?

I added “results” in Response key path.
I took out the above Query parameter.
And it works for getting the Collection of data records, but I have some problems with getting a Single data record…

OK I found how to get a Single data record.
1 In GET RECORD, I also added 2 HTTP Header in my AppGYver GET CONFIG, one with X-Parse-Application-Id as Key and with the id as Value, and the other one with X-Parse-REST-API-Key as Key and with the REST API key as Value.
2 I added “/{objectId}” in Relative path.
3 I added “objectId” as Key and Label in a URL placeholder.