Skip to content

[QUESTION] post request return 200 ok by postman, no data, but js code request is ok , has data, why ? #2447

@jiulu313

Description

@jiulu313

Describe the bug
post request return 200 ok by postman, no data, but js code request is ok , has data, why ?

my version:
github.com/kataras/iris/v12 v12.2.5
github.com/iris-contrib/middleware/cors v0.0.0-20220921193907-d3e7dfb17c8f

go: 1.21

there are my some code and img
image

image
image

if I change the method post as get and use postman, it is ok , has body json data
but the method is post, it is ok, no data.

please help me , thank you!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions