centos7 阿里云 python服务器

通过 Fiddle 给 他发送消息:

GET http://118.190.215.49:5001/order?device_id=35902210&type=3 HTTP/1.1
Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*
Accept-Language: zh-cn
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Host: 118.190.215.49:5001

返回的消息:

HTTP/1.0 200 OK
Content-Type: application/json
Content-Length: 80
Server: Werkzeug/0.14.1 Python/3.6.6
Date: Wed, 01 Aug 2018 07:57:59 GMT

{
  "dev_id": "35902210", 
  "seq": 1, 
  "status": "success", 
  "type": "3"
}

猜你喜欢

转载自blog.csdn.net/wowocpp/article/details/81333053