package com.change.freevpn.api;

import com.change.freevpn.models.ApiResponse;
import com.change.freevpn.models.ServersResponse;
import com.change.freevpn.models.ConnectResponse;
import com.change.freevpn.models.ConnectRequest;

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

public interface VpnApiService {
    
    @GET("servers.php")
    Call<ServersResponse> getServers();
    
    @POST("connect.php")
    Call<ConnectResponse> connect(@Body ConnectRequest request);
}
