Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / retrofitsample / GisService.java
package com.example.cosmosclient.retrofitsample;

import com.fasterxml.jackson.annotation.JsonTypeInfo;

import java.util.ArrayList;

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

public interface GisService {
    @GET("general/dem/scripts/getelevation.php")
    Call<Ele> listEles(@Query("lon") double lon, @Query("lat") double lat, @Query("outtype") String outtype);

}