HTTP client
Installation
# Using npm
npm install aurelia-http-client
# Using yarn
yarn add aurelia-http-clientBasic Concepts
Getting Started
Setup with Dependency Injection
Alternative Setup
Simple Request Examples
Error Handling
Making HTTP Requests
Available HTTP Methods
JSONP Requests
Working with Request/Response Data
Configuration
Global Configuration
Request-Specific Configuration
Available Configuration Options
Method
Description
Request Building
Using RequestBuilder
Available Request Builder Methods
Category
Methods
Response Handling
Response Message Structure
Error Handling
Interceptors
Creating and Configuring Interceptors
Authentication Interceptor Example
Multiple Interceptors
Advanced Usage
Working with Different Content Types
Progress Tracking
Timeout Handling
Retry Logic with Interceptors
Caching Responses
Authentication with Refresh Token
Last updated
Was this helpful?