-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33d78ac
commit d9b89b9
Showing
5 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" class="page"> | ||
<ScrollView> | ||
<StackLayout class="p-20"> | ||
<ScrollView> | ||
<StackLayout class="p-20"> | ||
|
||
<!--<Label text="Default headers, according to https://httpbin.org/headers:" class="t-20 text-center c-black" textWrap="true"/>--> | ||
<!--<WebView height="320" src="https://httpbin.org/headers?wv=1"/>--> | ||
<Label text="GET with custom headers:" class="t-20 text-center c-black" textWrap="true"/> | ||
<WebView loaded="webViewLoaded" loadStarted="webViewLoadStarted" loadFinished="webViewLoadFinished" | ||
height="250" src="https://httpbin.org/headers?wv=2"/> | ||
|
||
<Label text="And now with custom headers:" class="t-20 text-center c-black" textWrap="true"/> | ||
<WebView loaded="webViewLoaded" loadStarted="webViewLoadStarted" loadFinished="webViewLoadFinished" height="370" src="https://httpbin.org/headers?wv=2"/> | ||
<!--<WebView loaded="webViewLoaded" loadStarted="webViewLoadStarted" loadFinished="webViewLoadFinished" height="370" src="<p>Hi</p>"/>--> | ||
<Label text="A form that will POST:" class="t-20 text-center c-black" textWrap="true"/> | ||
<WebView loaded="webViewLoaded" loadStarted="webViewLoadStarted" loadFinished="webViewLoadFinished" | ||
height="500" src="https://httpbin.org/forms/post"/> | ||
|
||
</StackLayout> | ||
</ScrollView> | ||
</StackLayout> | ||
</ScrollView> | ||
</Page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters