December 2019
Intermediate to advanced
494 pages
11h 41m
English
One of the cool things about proxies is that you don't need a backend URL. You can create a new proxy and leave the backend URL empty. Instead, look at the response override. For example, suppose you have to call a service to create a customer and the service returns the new customer ID. The problem is, no such service exists yet. With a proxy, you can easily create a mock service that simply returns HTTP code 201 (created) with an ID in the body. Let's take a look at how this works: