{"action":"created","issue":{"url":"https://api.github.com/repos/lucasferreira/react-native-webview-android/issues/87","repository_url":"https://api.github.com/repos/lucasferreira/react-native-webview-android","labels_url":"https://api.github.com/repos/lucasferreira/react-native-webview-android/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/lucasferreira/react-native-webview-android/issues/87/comments","events_url":"https://api.github.com/repos/lucasferreira/react-native-webview-android/issues/87/events","html_url":"https://github.com/lucasferreira/react-native-webview-android/issues/87","id":278715827,"number":87,"title":"Not working with method=post?","user":{"login":"lwestenberg","id":17823076,"avatar_url":"https://avatars1.githubusercontent.com/u/17823076?v=4","gravatar_id":"","url":"https://api.github.com/users/lwestenberg","html_url":"https://github.com/lwestenberg","followers_url":"https://api.github.com/users/lwestenberg/followers","following_url":"https://api.github.com/users/lwestenberg/following{/other_user}","gists_url":"https://api.github.com/users/lwestenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/lwestenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwestenberg/subscriptions","organizations_url":"https://api.github.com/users/lwestenberg/orgs","repos_url":"https://api.github.com/users/lwestenberg/repos","events_url":"https://api.github.com/users/lwestenberg/events{/privacy}","received_events_url":"https://api.github.com/users/lwestenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-02T20:42:05Z","updated_at":"2017-12-04T19:44:12Z","closed_at":null,"author_association":"NONE","body":"\"react-native-webview-android\": \"^1.1.14\",\r\n\"react-native\": \"^0.50.4\",\r\n\r\nOn Android in componentDidMount I'm calling \r\nsetState({\r\nsource: {\r\nuri: URL, \r\nmethod: 'POST', \r\nbody: 'field1=value&field2=value'\r\n}\r\n})\r\n\r\nThis is connected to the android webview with source={this.state.source}\r\n\r\nIt works with GET (no body) but not with POST. As a result it opens the webpage without posting the data.\r\n\r\nAny idea what could be the issue?"},"comment":{"url":"https://api.github.com/repos/lucasferreira/react-native-webview-android/issues/comments/349082407","html_url":"https://github.com/lucasferreira/react-native-webview-android/issues/87#issuecomment-349082407","issue_url":"https://api.github.com/repos/lucasferreira/react-native-webview-android/issues/87","id":349082407,"user":{"login":"lwestenberg","id":17823076,"avatar_url":"https://avatars1.githubusercontent.com/u/17823076?v=4","gravatar_id":"","url":"https://api.github.com/users/lwestenberg","html_url":"https://github.com/lwestenberg","followers_url":"https://api.github.com/users/lwestenberg/followers","following_url":"https://api.github.com/users/lwestenberg/following{/other_user}","gists_url":"https://api.github.com/users/lwestenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/lwestenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwestenberg/subscriptions","organizations_url":"https://api.github.com/users/lwestenberg/orgs","repos_url":"https://api.github.com/users/lwestenberg/repos","events_url":"https://api.github.com/users/lwestenberg/events{/privacy}","received_events_url":"https://api.github.com/users/lwestenberg/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T19:44:12Z","updated_at":"2017-12-04T19:44:12Z","author_association":"NONE","body":"[React Native Webview](https://facebook.github.io/react-native/docs/webview.html) has method POST with body, as described in the docs `object: {uri: string,method: string,headers: object,body: string}, ,object: {html: string,baseUrl: string}, ,number`\r\n\r\nAny idea what needs to be done to make this work with react-native-webview-android?"}}
{"actor":{"display_login":"lwestenberg"}}