Skip to content

CORS error when calling from React  #1

@Justinjdaniel

Description

@Justinjdaniel

Hi,
I was trying out this new minimal API and .NET for the first time. APIs are working fine with swagger and in postman, But when trying to call it from React, getting a cors error.

Tried a bunch of methods, most of them are not working for me,
If it's okay, can anyone share the proper method to solve this issue?

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