Closed fitsie007 closed 5 years ago
Hi @fitsie007,
Our dialog-quotes-java sample provides a great example on how to make requests to external APIs and URLs. You can use that as an example.
Regarding logging - You can log using SLF4J, providing any underlying implementation you wish, such as log4j. The sample mentioned above also provides an example of this that you can use as a reference.
I am trying to make a request to a REST API from within my intent, but it always throws an error:
I am using spring-framework RestTemplate to send the request as follows.
Is this the right way to make a call to a REST service from within an Intent? Also, how do I log custom error messages for debugging?