January 2019
Intermediate to advanced
378 pages
11h 35m
English
Changing service endpoints isn't always ideal, However, if it needs to, will the service client know about it and use the new endpoint? Yes, with standard HTTP return codes, 3xx, and with the Location header, then by receiving 301 Moved permanently or 307 Temporary Redirect, the service client can act accordingly. The endpoint redirection pattern suggests returning standard HTTP headers and provides an automatic reference of stale endpoints to the current endpoints:

As we can see, the service consumers may call the new endpoints that are found in the Location header.
Please refer to our investor service example for header ...
Read now
Unlock full access