package com.example.zhulinaapi; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.POST; import retrofit2.http.PUT; import retrofit2.http.Query; public interface RetrofitAPI { @POST("Workouts/") Call createPost(@Body Mask mask); @PUT("Workouts/{id}") Call updateData(@Query("id") int id, @Body Mask mask); @DELETE("Workouts/{id}") Call deleteData(@Query("id") int id); }