Sends a DELETE request to the service.
Sends a DELETE request to the service.
the user token to send to the service (if any)
the data to send
Future[(Int, JsValue)] - the result of the request: (response code, response data)
Sends a GET request to the service.
Sends a GET request to the service.
the user token to send to the service (if any)
the data to send
Future[(Int, JsValue)] - the result of the request: (response code, response data)
Sends a PATCH request to the service.
Sends a PATCH request to the service.
the user token to send to the service (if any)
the data to send
Future[(Int, JsValue)] - the result of the request: (response code, response data)
Sends a POST request to the service.
Sends a POST request to the service.
the user token to send to the service (if any)
the data to send
Future[(Int, JsValue)] - the result of the request: (response code, response data)
Sends a PUT request to the service.
Sends a PUT request to the service.
the user token to send to the service (if any)
the data to send
Future[(Int, JsValue)] - the result of the request: (response code, response data)