HTTP Calls in elastOS

Allowing some HTTP calls in your capsule

HTTP calls are forbidden by default in elastOS applications. But some specific domains can be added to your capsule manifest to allow you calling HTTP APIs from your app.

Manifest change

Add your API domain to your manifest.json:

"urls": [

HTTP calls in Typescript

Here is a typical http GET call from an ionic app:

import { HttpClient } from '@angular/common/http';

    selector: 'your-page',
    templateUrl: 'yourpage.html'
export class YourPage {
    constructor(private http: HttpClient) {
        this.http.get('').subscribe((response) => {