Skip to content

How to set http proxy while calling rest endpoint #7

@anshul-kumar-agl

Description

@anshul-kumar-agl

Hello, when calling a rest endpoint as below, I need to mention http proxy so that request goes through given proxy. How can we do same?

import { HttpClient, HttpRequest, HttpResponse, HttpMethod, HttpHeader } from "@paperbits/common/http";

response = await this.HttpClient.send(httpRequest);

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