Skip to content

POST and PUT routes for React app do not work #8

Description

@kstonekuan

Hi, I am unable to add or edit products as the POST and PUT routes do not work. Seems like when the "+" or "Edit" functions are used, upon saving they will send requests to http://localhost:3000/products/api/products instead of http://localhost:3000/api/products thus causing the requests to fail.

Load and delete products features both work.

Same issue faced with the authentication tutorial: https://github.com/MicrosoftDocs/mslearn-staticwebapp-authentication

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions