Forum Discussion

richie's avatar
richie
Community Hero
5 years ago

Stubbing/Mocking Additional Services That Provide My Endpoint With Data When Endpoint Is Hit

Hey!

 

I have an endpoint (called it endpoint A) that when it receives a request then makes calls to a couple of different endpoints for data (example a UK National Insurance Number) that endpointA adds to my response.

 

Is this possible?  I only really know the basics of mocking - so any advice anyone can provide would be spiffy cos im really out of my depth here!

 

thanks to all for any hints/tips/guidance anyone can give me!

 

ta

 

rich