Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Is it possible to POST data to a WebView?

$
0
0

In Xamarin Android, and also something similar in iOS, it's possible to perform a PostURL with given POST content. This allows you to pre-fill form data or dynamically load a webpage with POSTed content.

Is there an equivalent to this with Xamarin Forms? So far I've only seen the ability to pass a basic URL to the Forms WebView.

Description of what I need to accomplish:
I have a string token that I need to pass to a WebView. This token allows the page to dynamically load user content. I'm able to fetch this token using an HTTPClient request. Now I need to be able to attach that token to a POST request within the WebView so the user can see the content.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>