There are many options available when it comes to mocking API response, like, JSON server or even having a response JSON file added to

#azure-functions #api #azure #using

Using Azure function proxies for mocking API
2.25 GEEK