Express JS Function - Can't Access Request Body after catalyst deploy

Express JS Function - Can't Access Request Body after catalyst deploy

Hi everyone,

I'm having a frustrating issue with Zoho Catalyst and Express JS whereby it works as expected when running locally with catalyst serve but not on the online version after running catalyst deploy.

More specifically, I am unable to access the data in the request body. The code is as follows:
  1. 'use strict';

    // Add libraries and depedencies
    const debug = require('debug');
    const https = require('https');
    const crypto = require('crypto');
    var catalyst = require('zcatalyst-sdk-node');

    // Initialize express js
    const express = require('express');
    const app = express();
    app.use(express.json());
    app.use(express.text());
    app.use(express.urlencoded({ extended: true }));

    // API Starts Here
    app.get('/', async(req,res) => {
        let body = req.body;
        console.log('body is:' + body);
        res.status(200).send(body)
    });

    // Export module
    module.exports = app;

I make a GET request with the following parameters:
  1. {
        "numbers": ["5145550226","5145552886","+44 303 123 7300""911""bzde""2425585776""2425585776"]
    }

When running catalyst serve on the local instance, it will return the following:
  1. {
        "numbers": [
            "5145550226",
            "5145552886",
            "+44 303 123 7300",
            "911",
            "bzde",
            "2425585776",
            "2425585776"
        ]
    }

However, once I run catalyst deploy there is no data in the body:
  1. {}
Any ideas why the data is not accessible and/or stripped once running catalyst deploy?

Thanks!
    • Announcements

    • React Nexus 2025 Recap: Catalyst Slate in Action!

      Hey Catalyst Community! We recently attended the React Nexus 2025 conference, an exciting gathering for frontend enthusiasts and React developers. Our team had an incredible time presenting and conducting a hands-on workshop on Catalyst Slate, our streamlined
    • [Webinar] A hands-on guide to Catalyst Stratus

      Have you used Catalyst Stratus yet? It’s an object storage service that makes it easy to handle large files — whether they're coming from your Catalyst app or other Zoho apps. We’re hosting a live coding session where you’ll build a working prototype
    • Catalyst Video Tutorials!

      Hello everyone! We’ve been brewing something exciting behind the scenes, and we’re thrilled to finally share it with you- Catalyst video tutorials are here! We recognized that videos are the predominant medium for learning and discovery these days, so
    • [Webinar] Catalyst Cloud Browser in Action: PDF & Web Rendering Solutions for Regulated Industries

      Hi everyone, Have you ever struggled with rigid PDF tools or clunky rendering logic in BFSI or healthcare apps? Do your clients struggle to deliver compliant, dynamic, and automated documents — and most are still stuck with brittle, server-heavy PDF generation?
    • Announcing Catalyst Developer Bootcamps in India - Zoho Community

      Hey everyone! We're excited to announce a set of developer bootcamps dedicated to Catalyst! These bootcamps are aimed to empower developers to build, scale, and deploy applications with speed and precision, using Catalyst. Whether you're a newcomer or

      Catalyst Community