Skip to content

Package not compatible with .NET Client package #4

Description

@Ackhuman

There is an issue with the default function name being "HttpTrigger1". Every other JsReport instance sits the API endpoint at "/api/report", which is how the .NET Client package is configured to work. You simply provide the base URL, which it sets as the BaseUrl property in the internal HttpClient. However, when it sends the request, it always uses "api/report" as the request URL. With the out of the box configuration of the Azure function, the API endpoint will be "/api/HttpTrigger1", which means attempting to use the two together will result in a 404. The default function name should therefore be changed from "HttpTrigger1" to "report" to enable compatibility between the two.

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