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

No overload for method 'PostAsJsonAsync' takes 1 arguments #16

Open
Nate-Wilkins opened this issue Oct 9, 2014 · 5 comments
Open

No overload for method 'PostAsJsonAsync' takes 1 arguments #16

Nate-Wilkins opened this issue Oct 9, 2014 · 5 comments

Comments

@Nate-Wilkins
Copy link

I may be using invalid HTTP verbs but when I have a post action method in a web api controller I get a generated proxy with a PostAsJsonAsync method that is only using one argument and gives me this error.

I can change my verbs up a bit to better reflect the controller but I think this tool should still support this edge case.

@faniereynders
Copy link
Member

Hi @Nate-Wilkins
This is not yet supported as it generates as per specific convention. We can look into this for the future.

@Mike-E-angelo
Copy link

I, too, encountered this exception, and this is from creating a default WebAPI project with ASP.NET MVC5, FYI. I am sure other users trying this out of the box might encounter this same issue...

@faniereynders
Copy link
Member

Agreed, thanks for your feedback!

@wolfen351
Copy link
Collaborator

Hi there, I'm new here, working on cleaning up the old bugs. I need a repro case for this one so I can investigate and deal with the issue, please.

@faniereynders
Copy link
Member

Nudge @Nate-Wilkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants