package com.africastalking;

import retrofit2.Call;
import retrofit2.http.*;

interface IVoice {

    @FormUrlEncoded
    @POST("call")
    Call<String> call(@Field("username") String username, @Field("to") String to,
                      @Field("from") String from);

    @GET("/queueStatus")
    Call<String> queueStatus(@Query("username") String username, @Query("phoneNumbers") String phoneNumbers);

    @FormUrlEncoded
    @POST("/mediaUpload")
    Call<String> mediaUpload(@Field("username") String username, @Field("url") String url,
                            @Field("phoneNumber") String phoneNumber);

}

@@ -272,10 +272,31 @@
    @
-GE
+FormUrlEncoded%0A    @POS
 T(%22/
@@ -339,21 +339,21 @@
 Status(@
-Query
+Field
 (%22userna
@@ -379,13 +379,13 @@
 e, @
-Query
+Field
 (%22ph

Fix HTTP method on voice fetch queued calls