[webapi] Refactor to use requests
Rather than doing things manually, rely on a known and proven library to do the web requests. Also, fail directly in this central point. There's no sense in propagating returning invalid values and status that must be checked again at every call.
Please register or sign in to comment