HttpService.buildUrl(url: string, query: any = {})
- Transforms a url plus an object to a callable url
HttpService.post(url: string, body?: any, query?: any)
- Does a POST request
HttpService.get(url: string, query?: any)
- Does a GET request
HttpService.put(url: string, body: any, query?: any)
- Does a PUT request
HttpService.delete(url: string, query?: any)
- Does a DELETE request
HttpService.file(url: string, files: File[], query?: any)
- Uploads a file