https://kotlinlang.org logo
#android
Title
# android
a

Ananiya

05/15/2020, 7:37 AM
why this code response body return null but the header is success i tried to change "@GET" annotation value from
cases_by_country.php
to
/cases_by_country.php
and even i change
API_BASE_URL
value from
<https://coronavirus-monitor.p.rapidapi.com/coronavirus/>
to
<https://coronavirus-monitor.p.rapidapi.com/coronavirus/cases_by_coutry.php/>
still it returns null why ? 🤔
r

rax

05/15/2020, 7:52 AM
What's the raw response from the server?
3 Views