Created
October 28, 2020 07:07
-
-
Save Ikhiloya/b2b460c12d1328e88d886708e9380d65 to your computer and use it in GitHub Desktop.
A simple web service call with a custom header to ensure that the request is retrieved from the cached
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@GET(Constant.PAYMENT_TYPES) | |
@Headers("Cacheable: true") | |
fun getPaymentTypesWithHeaders(): Call<MutableList<PaymentType>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment