Remove "resource" wrapper

Hi, I’m firing off a GET request to a DF endpoint from an external API. Although I am able to connect, the external API is not able to read the payload. My guess is that it cannot parse the “resource” wrapper that DF adds to an array (the API uses “response” and its hard-coded and I cant change it). Is there anyway to remove or rename the resource wrapper?

In another post someone suggested:
“wrapping is defined and used in the BaseDbSvc.php class, look for “RECORD_WRAPPER”, which can be found in the lib-php-common-platform library /src/Services/BaseDbSvc.php. This library is included in the build package under vendor/dreamfactory”

However, I access DF through an online instance and cannot locate these files/folders.

Thanks,
Joe

1 Like