I am pretty sure this was tackled in a different thread, but the ones I came across were not clear at all.
I am just trying to find some good examples or docs as to how you can consume secured RESTful API in Spring Boot; Either with an API key or Basic Auth.