diff --git a/app/src/main/java/org/ntlab/acanthus_client/resources/gallery/StrokesRest.java b/app/src/main/java/org/ntlab/acanthus_client/resources/gallery/StrokesRest.java index c33928a..cd1eaf2 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/resources/gallery/StrokesRest.java +++ b/app/src/main/java/org/ntlab/acanthus_client/resources/gallery/StrokesRest.java @@ -12,8 +12,11 @@ import retrofit2.http.Field; import retrofit2.http.FormUrlEncoded; import retrofit2.http.GET; +import retrofit2.http.HTTP; +import retrofit2.http.Headers; import retrofit2.http.POST; import retrofit2.http.Path; +import retrofit2.http.Query; //----------------------------------------------------------------- // RestAPI: /gallery/{aid}/pageMap/{pid}/layers/{layerNo}/ @@ -46,7 +49,7 @@ //----------------------------------------------------------------- // @DELETE("gallery/{aid}/pageMap/0/layers/0/strokes") - Call deleteStrokes(@Path("aid") Integer aid, @Field("uid") Integer uid); + Call deleteStrokes(@Path("aid") Integer aid, @Query("uid") Integer uid); //----------------------------------------------------------------- //