protocol://hostname:port/path-and-file-name
Protocol: http, ftp, telnet
Hostname: DNS domain name (e.g., www.unitec.edu) o IP address (e.g., 192.128.1.2)
Port: Puerto TCP donde escucha el servidor
Path-and-file-name: nombre del recurso
postman chrome
POST /bin/login HTTP/1.1
Host: 127.0.0.1:8000
Accept: image/gif, image/jpeg, */*
Referer: http://127.0.0.1:8000/login.html
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Content-Length: 37
Connection: Keep-Alive
Cache-Control: no-cache
User=Peter+Lee&pw=123456&action=login
<html>
<head><title>Login</title></head>
<body>
<h2>LOGIN</h2>
<form method="post" action="/bin/login">
Username: <input type="text" name="user" size="25" /><br />
Password: <input type="password" name="pw" size="10" /><br /><br />
<input type="hidden" name="action" value="login" />
<input type="submit" value="SEND" />
</form>
</body>
</html>
Desarrollar un HTTP Simple server en python
CREATE TABLE IF NOT EXISTS `c9`.`WHITEBOARD` (
`WHITEBOARD_ID` INT NOT NULL AUTO_INCREMENT,
`USER_NAME` VARCHAR(200) NOT NULL,
`MESSAGE` TEXT NOT NULL,
PRIMARY KEY (`WHITEBOARD_ID`))
ENGINE = InnoDB;
php composer.phar require --dev --prefer-dist svkurowski/yii2-shell
composer require --dev --prefer-dist svkurowski/yii2-shell