Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using a static JSON as return for a mock API call

1243212Jul 10 2024

Hi there,

I'm developing a webapp that queries an API to retrieve customer information. For the purposes of developing and demoing, I want to mock/force the API call to return the same JSON response every time, without actually calling the API. How do I go about doing this? I've tried a few different things and nothing seems to work!

Any help would be greatly appreciated.

Cheers,

Dan

Comments
Post Details
Added on Jul 10 2024
1 comment
352 views