{"action":"created","issue":{"url":"https://api.github.com/repos/toenuff/flancy/issues/9","labels_url":"https://api.github.com/repos/toenuff/flancy/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/toenuff/flancy/issues/9/comments","events_url":"https://api.github.com/repos/toenuff/flancy/issues/9/events","html_url":"https://github.com/toenuff/flancy/issues/9","id":113979382,"number":9,"title":"Errors on invoking the example","user":{"login":"nightroman","id":927533,"avatar_url":"https://avatars.githubusercontent.com/u/927533?v=3","gravatar_id":"","url":"https://api.github.com/users/nightroman","html_url":"https://github.com/nightroman","followers_url":"https://api.github.com/users/nightroman/followers","following_url":"https://api.github.com/users/nightroman/following{/other_user}","gists_url":"https://api.github.com/users/nightroman/gists{/gist_id}","starred_url":"https://api.github.com/users/nightroman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightroman/subscriptions","organizations_url":"https://api.github.com/users/nightroman/orgs","repos_url":"https://api.github.com/users/nightroman/repos","events_url":"https://api.github.com/users/nightroman/events{/privacy}","received_events_url":"https://api.github.com/users/nightroman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T04:48:54Z","updated_at":"2015-10-29T10:56:57Z","closed_at":null,"body":"It's probably work in progress but I better let you know. On invoking *example.ps1* I get the below errors. I am using PowerShell v3, if it matters.\r\n\r\n````\r\nInvoke-RestMethod : The 'Accept' header must be modified using the appropriate property or method.\r\nParameter name: name\r\nAt C:\\-\\GIT\\flancy\\example.ps1:45 char:1\r\n+ Invoke-RestMethod -Uri http://localhost:8001/process -Headers @{'Accept'='applic ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Invoke-RestMethod], ArgumentException\r\n    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand\r\n\r\nInvoke-RestMethod : The 'Accept' header must be modified using the appropriate property or method.\r\nParameter name: name\r\nAt C:\\-\\GIT\\flancy\\example.ps1:46 char:1\r\n+ Invoke-RestMethod -Uri http://localhost:8001/process -Method Post -Body \"Notepad ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Invoke-RestMethod], ArgumentException\r\n    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/toenuff/flancy/issues/comments/152146428","html_url":"https://github.com/toenuff/flancy/issues/9#issuecomment-152146428","issue_url":"https://api.github.com/repos/toenuff/flancy/issues/9","id":152146428,"user":{"login":"nightroman","id":927533,"avatar_url":"https://avatars.githubusercontent.com/u/927533?v=3","gravatar_id":"","url":"https://api.github.com/users/nightroman","html_url":"https://github.com/nightroman","followers_url":"https://api.github.com/users/nightroman/followers","following_url":"https://api.github.com/users/nightroman/following{/other_user}","gists_url":"https://api.github.com/users/nightroman/gists{/gist_id}","starred_url":"https://api.github.com/users/nightroman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightroman/subscriptions","organizations_url":"https://api.github.com/users/nightroman/orgs","repos_url":"https://api.github.com/users/nightroman/repos","events_url":"https://api.github.com/users/nightroman/events{/privacy}","received_events_url":"https://api.github.com/users/nightroman/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T10:56:57Z","updated_at":"2015-10-29T10:56:57Z","body":"Tried on v4 and v5, it works. It may be v3 issue."}}