{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2222","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2222/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2222/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2222/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2222","id":235756354,"node_id":"MDU6SXNzdWUyMzU3NTYzNTQ=","number":2222,"title":"Bad Request - 400 Empty or invalid anti forgery header token","user":{"login":"boilerplateir","id":21397787,"node_id":"MDQ6VXNlcjIxMzk3Nzg3","avatar_url":"https://avatars1.githubusercontent.com/u/21397787?v=4","gravatar_id":"","url":"https://api.github.com/users/boilerplateir","html_url":"https://github.com/boilerplateir","followers_url":"https://api.github.com/users/boilerplateir/followers","following_url":"https://api.github.com/users/boilerplateir/following{/other_user}","gists_url":"https://api.github.com/users/boilerplateir/gists{/gist_id}","starred_url":"https://api.github.com/users/boilerplateir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boilerplateir/subscriptions","organizations_url":"https://api.github.com/users/boilerplateir/orgs","repos_url":"https://api.github.com/users/boilerplateir/repos","events_url":"https://api.github.com/users/boilerplateir/events{/privacy}","received_events_url":"https://api.github.com/users/boilerplateir/received_events","type":"User","site_admin":false},"labels":[{"id":104949927,"node_id":"MDU6TGFiZWwxMDQ5NDk5Mjc=","url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/labels/problem","name":"problem","color":"eb9460","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-06-14T04:00:14Z","updated_at":"2018-07-10T06:51:54Z","closed_at":"2017-06-15T09:27:20Z","author_association":"NONE","body":" Hi\r\n\r\nI want call a action with URL from another domain and post a Form Data.\r\n\r\n![capture](https://user-images.githubusercontent.com/21397787/27114785-4dd8dd00-50db-11e7-87a9-4014112d8149.JPG)\r\n\r\nAttribute [DisableAbpAntiForgeryTokenValidation] don't work in this example and I don't want disable :\r\n\r\n`Configuration.Modules.AbpWeb().AntiForgery.IsEnabled = false;`\r\n\r\nand I don't want enable:\r\n\r\n`        private static void EnableCors()`\r\n`        {`\r\n`            var cors = new EnableCorsAttribute(\"*\", \"*\", \"*\");`\r\n`            System.Web.Http.GlobalConfiguration.Configuration.EnableCors(cors);`\r\n`        }`\r\n\r\nMy Action is:\r\n\r\n`        [DisableAbpAntiForgeryTokenValidation]`\r\n`        [HttpPost]`\r\n`        public async Task<ActionResult> UserCallBack(int id = 1)`\r\n`        {`\r\n`            //MY CODE`\r\n`            return View();`\r\n`        }`\r\n\r\nWhat is best solution for this error?\r\n\r\nI'm using ASP.NET MVC 5.x MPA and ABP 1.4.2.0. \r\n"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/403719496","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2222#issuecomment-403719496","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2222","id":403719496,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzcxOTQ5Ng==","user":{"login":"KennyEng12","id":29649512,"node_id":"MDQ6VXNlcjI5NjQ5NTEy","avatar_url":"https://avatars0.githubusercontent.com/u/29649512?v=4","gravatar_id":"","url":"https://api.github.com/users/KennyEng12","html_url":"https://github.com/KennyEng12","followers_url":"https://api.github.com/users/KennyEng12/followers","following_url":"https://api.github.com/users/KennyEng12/following{/other_user}","gists_url":"https://api.github.com/users/KennyEng12/gists{/gist_id}","starred_url":"https://api.github.com/users/KennyEng12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennyEng12/subscriptions","organizations_url":"https://api.github.com/users/KennyEng12/orgs","repos_url":"https://api.github.com/users/KennyEng12/repos","events_url":"https://api.github.com/users/KennyEng12/events{/privacy}","received_events_url":"https://api.github.com/users/KennyEng12/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T06:51:54Z","updated_at":"2018-07-10T06:51:54Z","author_association":"NONE","body":"Hi @hikalkan @ktngoykalolo,\r\n\r\nI've tested, it has no problem now and I have no idea why it is not getting Error 400 now.\r\nI'm using ABP 1.5.0\r\n\r\nThanks."}}
{"actor":{"display_login":"KennyEng12"}}