Page MenuHomePhabricator

HTTP module
Closed, ResolvedPublic


Add a new module that will handle all HTTP work. There needs to be at least a method 'request' that throws a custom IOException when the request fails, containing the reason it failed (HTTP code) and the eventual data sent by the server.

The method must have an overload that also accepts the token. The method must accept the HTTP method used (GET, POST,...) as an enum.

The method can require data as JsonObject, and returns JsonObject data.

Event Timeline

CLOVIS triaged this task as Normal priority.Jun 21 2018, 1:57 PM
CLOVIS raised the priority of this task from Normal to High.Jun 30 2018, 1:14 PM