{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1533","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1533/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1533/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1533/events","html_url":"https://github.com/esp8266/Arduino/issues/1533","id":129800535,"number":1533,"title":"HttpClient POST?","user":{"login":"shayo","id":1977614,"avatar_url":"https://avatars.githubusercontent.com/u/1977614?v=3","gravatar_id":"","url":"https://api.github.com/users/shayo","html_url":"https://github.com/shayo","followers_url":"https://api.github.com/users/shayo/followers","following_url":"https://api.github.com/users/shayo/following{/other_user}","gists_url":"https://api.github.com/users/shayo/gists{/gist_id}","starred_url":"https://api.github.com/users/shayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shayo/subscriptions","organizations_url":"https://api.github.com/users/shayo/orgs","repos_url":"https://api.github.com/users/shayo/repos","events_url":"https://api.github.com/users/shayo/events{/privacy}","received_events_url":"https://api.github.com/users/shayo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-29T15:34:45Z","updated_at":"2016-01-29T17:24:43Z","closed_at":"2016-01-29T17:24:43Z","body":"I'm trying to use HTTPClient to request a web page with POST, but this doesn't work.\r\nI'm not sure if the problem is how I do it, or if there is a bug in the library.\r\nTrying to send the variables with GET via the URL works fine.\r\nAny ideas?\r\n\r\nIn 8266:\r\n`http.begin(\"www.mywebpage.com\", 80, \"/php_page.php\");\r\nint httpCode = http.POST(\"VAR=123\");\r\n`\r\nOn the web:\r\n`\r\nphp_page.php:\r\n<? php\r\n  $v = $_POST['VAR'] ;\r\n   echo \"<html><body><p> $v </p></body></html>\";\r\n?>\r\n`"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/176871532","html_url":"https://github.com/esp8266/Arduino/issues/1533#issuecomment-176871532","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1533","id":176871532,"user":{"login":"shayo","id":1977614,"avatar_url":"https://avatars.githubusercontent.com/u/1977614?v=3","gravatar_id":"","url":"https://api.github.com/users/shayo","html_url":"https://github.com/shayo","followers_url":"https://api.github.com/users/shayo/followers","following_url":"https://api.github.com/users/shayo/following{/other_user}","gists_url":"https://api.github.com/users/shayo/gists{/gist_id}","starred_url":"https://api.github.com/users/shayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shayo/subscriptions","organizations_url":"https://api.github.com/users/shayo/orgs","repos_url":"https://api.github.com/users/shayo/repos","events_url":"https://api.github.com/users/shayo/events{/privacy}","received_events_url":"https://api.github.com/users/shayo/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T17:24:43Z","updated_at":"2016-01-29T17:24:43Z","body":"Gotcha. I was missing the addHeader. I assumed it added this automatically when using the POST method. It might be useful to add this example to the release.\r\nThank you!\r\n"}}