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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Using a static JSON as return for a mock API call

12432125 days ago

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 5 days ago
1 comment
32 views