Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -301,7 +301,7 @@ public class Api { | ... | @@ -301,7 +301,7 @@ public class Api { |
301 | } | 301 | } |
302 | 302 | ||
303 | static public void requestAddDevice(final Callback callback) { | 303 | static public void requestAddDevice(final Callback callback) { |
304 | - callApi("POST", "/api/device/request", null, new Callback() { | 304 | + callApi("PUT", "/api/device/request", null, new Callback() { |
305 | @Override | 305 | @Override |
306 | public void callbackMethod(Object obj) { | 306 | public void callbackMethod(Object obj) { |
307 | ApiResult apiResult = (ApiResult) obj; | 307 | ApiResult apiResult = (ApiResult) obj; | ... | ... |
-
Please register or login to post a comment