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

所有的访问都是Get是日志的问题还是本来就有问题 #2

Open
gwhzh21 opened this issue Feb 1, 2020 · 0 comments
Open

Comments

@gwhzh21
Copy link

gwhzh21 commented Feb 1, 2020

我用的是wiki中的例子,但是在调Add的时候日志是
request http://127.0.0.1:5000/ error [GET /Add 404 Not Found] Response
这里为啥是GET?

public interface INorthWind
{
Task GetEmployee(int id);
[Post]
Task Add(string emp);
[Post]
Task Login(string name, string value);
[Post]
Task Modify([CQuery]int id, string body);
}

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