You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/03/31 01:20:16 UTC

[GitHub] [cordova-plugin-inappbrowser] ntkzwane commented on issue #779: Posting form data to wkwebview is not working

ntkzwane commented on issue #779:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/779#issuecomment-810683007


   I'm unsure if this us related to an updated webview or updated ios version, but the same is happening for me. For example, the following form:
   ```
   <form action="/something" method="POST">
     <input type="text" />
     <button type="submit">Done</button>
   </form>
   ```
   
   When submitted, issues a `GET` request, regardless of the `method` specified. I noticed when I use a `PUT` request the form body gets added to the url parameters.
   
   I've verified this is not a backend issue as the same code works in other browsers and platforms i.e Chrome on PC, Android and Mac; Safari and Firefox. This only behaves this way when the form submission is issued from within the webvview on iOS only (android webview works fine)
   
   Hope this helps 😄 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org