The difference between ios-html-get/post, Word (MS) Checkst

Source: Internet
Author: User

Get direct fetch data, post inject server, for server security or get

And because get is the message, password account can be seen at a glance, even if the encryption can be easily cracked, so pass the password with post even if the server is not secure.





Network programming

Third party: ASI most powerful, HTTP terminator, unfortunately not updated

AFN Simple Application

URL Uniform Resource Locator: Includes: protocol, domain name, port number (specific address)

URI Uniform Resource Identifier


Request method

Get: The server directly to come, clear text, pass the amount of data small,

Post: Inject the server, but the server is not secure, the account password private best use it


A word gai

Get direct fetch data, post inject server, for server security or get

And because get is the message, password account can be seen at a glance, even if the encryption can be easily cracked, so pass the password with post even if the server is not secure.





Method order for opening HTML:


Local localhost


sudo apachectl start



1, 1

Create other click Empty to create a file named Testnet.html with the following content


<title>jeredu</title>

<body>

My first web

</body>


1, 2

Two A is hypertext link, on the page display get, click Get jump to the URL and assign value name=zhangsan&pwd=123 similar to the value of the Interfax


Create other click Empty to create a file named S.html with the following content


<title>get</title>



<body>

<a href= "http://localhost/testNet.html?name=zhangsan&pwd=123" >get </a>

</body>




2.1 Open terminal

Last Login:thu June 09:25:10 on ttys006

zhangxindemacbook-pro:~ zhangxin$ sudo apachectl start

Password:

/system/library/launchdaemons/org.apache.httpd.plist:operation already in progress


Enter the IP address;

Http://IP Address

Show it works! Network Normal can send request


2.2

Open the hard disk, select the Repository, document under the Webserver folder, drag the new HTML file into this folder and authenticate



POST:

Post <form> form submission <tr> line, a few lines, a few TR, the line has a column "TD", a row can also have multiple columns


Post.html

<title>

Post

</title>

<body>

<form action= "http://localhost/testNet.html" method= "POST" >

<table style= "width:300px;margin:0 Auto" >

<tr>

<TD >userName:</td>

<td><input type= "text" name= "UserName"/></td>

</tr>

<tr>

<td>passWorld:</td>

<td><input type= "Password" name= "PSW"/></td>

</tr>

</table>

<input type= "Submit" value= "Submit" style= "margin:100 0 0"/>

</form>

</body>

The difference between ios-html-get/post, Word (MS) Checkst

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.