I called PATCH web service using Retrofit2 but onResponse is not called and the onFailure is called Despite of
just return void instead, if the body is empty
@PATCH("alerts/{alert_id}/accept") Call accept_invited_alerts(@Header("X-Api-Token") String api_token, @Path("alert_id") int alert_id);
for retrofit with Rx java you can use something like this
@PATCH("alerts/{alert_id}/accept") Observable> accept_invited_alerts(@Header("X-Api-Token") String api_token, @Path("alert_id") int alert_id);