{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/700","labels_url":"https://api.github.com/repos/NLog/NLog/issues/700/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/700/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/700/events","html_url":"https://github.com/NLog/NLog/issues/700","id":75018879,"number":700,"title":"WebserviceTarget - HttpPost, need for other encoding types (JSON and/or XML)","user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/feature","name":"feature","color":"02e10c"},{"url":"https://api.github.com/repos/NLog/NLog/labels/should%20Have","name":"should Have","color":"666666"},{"url":"https://api.github.com/repos/NLog/NLog/labels/up-for-grabs","name":"up-for-grabs","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NLog/NLog/milestones/11","html_url":"https://github.com/NLog/NLog/milestones/4.2","labels_url":"https://api.github.com/repos/NLog/NLog/milestones/11/labels","id":1213675,"number":11,"title":"4.2","description":"Issues TBA","creator":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":0,"state":"open","created_at":"2015-07-17T22:10:56Z","updated_at":"2015-08-21T19:39:09Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-05-10T22:46:28Z","updated_at":"2015-08-22T22:11:23Z","closed_at":null,"body":"The current implementation of `WebServiceTarget` posts the content as \"application/x-www-form-urlencoded\". We need therefor the `[FromBody]` attribute on an REST api. \r\n\r\nPosting XML of JSON would be more conventional.\r\n\r\n\r\nSee unit test `WebServiceTargetTests.WebserviceTest_restapi_httppost` and #699"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/133758729","html_url":"https://github.com/NLog/NLog/issues/700#issuecomment-133758729","issue_url":"https://api.github.com/repos/NLog/NLog/issues/700","id":133758729,"user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T22:11:23Z","updated_at":"2015-08-22T22:11:23Z","body":"Ps There are some unit tests for webservice.  You can easily copy/expand/enable them. "}}