Jump to content
Server Maintenance This Week. ×

401 Unauthorized when trying to view an image from a container field using fmPDA's fmDataAPI library


Recommended Posts

I'm building some php pages that use FileMaker's Data API to pull records from my filemaker database using fmPDA's fmDataAPI library. I'm running into problems when trying to view files from a container. I'm using the url returned in the JSON response in an image tag to view a jpeg. But it's not showing.

echo '<img src="' . $responseData[0]['fieldData']['logo'] . '" />'

As I understand it I should be able to take the url provided in the JSON response like the one below, plug it into a web browser and view the image.

https://dev.rgcdata.com/Streaming_SSL/Additional_1/12119404ADCC7E2C307D1FE70AAFE2D0E551A65E9DF89BE17876AE537567464A.png?RCType=EmbeddedRCFileProcessor

But when I do I get a 401 Unauthorized error

Can anyone help with this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.