Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

FMS 19 DATA API request returns compressed body in response


This topic is 1547 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi everyone,

I have a problem with getting a list of records to show in my web app. Every time I make a GET request from my Node server the FMS 19 Data API returns a response with the body compressed. I am sure that my request is good because it works in Postman, returning all the records of my layout as JSON.

I am confused because I read that the browser is supposed to automatically handle any compression but nothing I have tried seems to work. 
 
I have used the zlib library to try to "unzip" the data returned from FMS but have not had any luck. I was wondering if anyone has experienced the same problem and/or can tell me what I might be doing wrong. Maybe there is some setting in FMP  or FMS to allow access to an uncompressed list of records?
 
When I try to return a single record it works fine and the response comes back as readable JSON.
 
Thanks in advance for any guidance or suggestions!

This topic is 1547 days old. Please don't post here. Open a new topic instead.

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.