Mike4997955
Posts: 0
Joined: Wed Sep 12, 2012 7:50 pm

app is able to access my database, except for the corresponding image

The url is correct. I pasted it above.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

app is able to access my database, except for the corresponding image

To get the image, you would need to make a GET request to this URL:
https://api.tiggzi.com/rest/1/db/file...

Mike4997955
Posts: 0
Joined: Wed Sep 12, 2012 7:50 pm

app is able to access my database, except for the corresponding image

Now i'm confused. I thought i needed to map the base64 formatted file to the image asset. DO i need to make an additional request? How would i do that?

Originally i mapped the image asset to that URL, and it didn't work.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

app is able to access my database, except for the corresponding image

What URL do you have in REST Service Properties panel?

Mike4997955
Posts: 0
Joined: Wed Sep 12, 2012 7:50 pm

app is able to access my database, except for the corresponding image

{database_url}/collections/Healing

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

app is able to access my database, except for the corresponding image

That URL is accessing a different collection, not the File collection. To get the image, you need to make a request to this URL: https://api.tiggzi.com/rest/1/db/file...

Mike4997955
Posts: 0
Joined: Wed Sep 12, 2012 7:50 pm

app is able to access my database, except for the corresponding image

OK, now i understand. The file is a separate collection. Thank you!

Return to “Issues”