Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cross domain request, do not want the browser to have pre check, options #1429

Open
bbhxwl opened this issue Apr 7, 2022 · 0 comments
Open

Comments

@bbhxwl
Copy link

bbhxwl commented Apr 7, 2022

I cross domain request, do not want the browser to have pre check, options
So I can only use the following code, but the submitted data is JSON. How can I receive JSON data?

[HttpPost("Login"),Consumes("application/x-www-form-urlencoded")]
        [AllowAnonymous]
        public ActionResult<object> Login([FromBody] LoginJsonData m)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant