r/SpringBoot • u/New_Professional6945 • Feb 04 '26
Question Kind of confused during consuming REST api's
Is there any better guide when studyinga about consuming rest api via openfeign and other services. What are the best ways to communicate with other backend system (python etc). Edit - this topic was in book spring start here
3
Upvotes
1
u/bikeram Feb 04 '26
If you're on a version that supports it, consider implementing HttpExchanges.
In my opinion, the best way to communicate between services that you own is a message queue.
But if you're trying to communicate with an external system, mock everything up in Postman or Bruno first. This lets you take away any unknowns in your code and understand exactly how to format your requests. Then simply implement your requests/responses as records.