Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / resources / LocationRest.java
h-fuji on 5 Nov 2019 684 bytes POST→GETに
package com.example.cosmosclient.resources;

import com.example.cosmosclient.entities.AreaInformation;
import com.example.cosmosclient.entities.ShopsResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Query;


public interface LocationRest {

    @GET("shops")
    Call<ShopsResponse> LocationService(@Query("leftLatitude") String leftLat,
                                        @Query("leftLongitude") String leftLon,
                                        @Query("rightLatitude") String rightLat,
                                        @Query("rightLongitude") String rightLon);
}