We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 153e7dd commit b8bf752Copy full SHA for b8bf752
library/src/main/java/com/androidfung/geoip/IpApiService.java
@@ -4,6 +4,7 @@
4
5
import retrofit2.Call;
6
import retrofit2.http.GET;
7
+import retrofit2.http.Path;
8
9
/**
10
* Created by funglam on 3/16/17.
@@ -14,5 +15,5 @@ public interface IpApiService {
14
15
Call<GeoIpResponseModel> getGeoIp();
16
17
@GET("json/{ipAddress}")
- Call<GeoIpResponseModel> getGeoIp(String ipAddress);
18
+ Call<GeoIpResponseModel> getGeoIp(@Path("ipAddress") String ipAddress);
19
}
0 commit comments