interesting webapi behavior

Topics: Customizing Orchard, General, Troubleshooting, Writing modules
Mar 21, 2014 at 4:43 AM
So, one of the first things I did when I created my first module is go right for making a webapi. I needed this to show that this would work before going forward with the prototyping I am doing. Everything was working just fine and I even deployed it to a webserver for demonstration purposes. Next I tear into making some parts, views and controllers (mvc not api at this point). All is going well, then I get a request to make a change to one of the webapi, it is very simple and I go to test it and now my web api isnt working. I am getting an error message that looks like this

The required anti-forgery form field "__RequestVerificationToken" is not present.

My views that I was making did have forms in them that used the following
@using (Html.BeginFormAntiForgeryPost(Url.Action("MyAction", "MyController", new { area = "MyArena" })))

would there be any reason this would cause my webapi to stop working?

Right now I have deleted the local app_data and started with a new database, removed everything except my simplest webapi call and am still getting this error.

thanks in advance for any advice