Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

How to write interceptor in capacitor httpΒ #271

@viharshitha

Description

@viharshitha

Hi Team,

I need an interceptor that attaches headers to every HTTP request, similar to an Angular interceptor. Suppose bulk API calls are triggering, and some tokens expire during failure, then I will try to get the refresh token, but how can I retry the failed requests?

How can I get interceptor similar to angular interceptor. Please suggest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions