Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FMS 19 DATA API request returns compressed body in response

Featured Replies

  • Newbies

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!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.