Is there any possibility to compare a Call URL with a String in Retrofit 2?
Call
String
Retrofit 2
For example we can take this baseUrl:
baseUrl
Assuming you're using OkHttp alongside Retrofit, you could do something like:
dummyService.exampleList("partialDummy").request().url().toString()
which according to the OkHttp docs should print:
https://www.google.com/dummy/partialDummy