There was an error while loading. Please reload this page.
Source
Get method, url, and header info from URLRequest with print(req.info).
URLRequest
print(req.info)
Get REST URLRequest with methods createGet, createPost, createPut, and createDelete.
createGet
createPost
createPut
createDelete
Get the status code from a URLResponse with let statusCode = resp.statusCode.
URLResponse
let statusCode = resp.statusCode