python post提交数据

 使用utf8编码,value是上传的值

1、上传经纬度等数据
http://112.74.44.47/VehicleWeb/Acceleration?gps=gpsValue&acceleration=value

其中gpsValue为一个字符串,以,隔开,将下面各个量填入

UTC时间,xx,纬度,南北,经度,东西,速度,xx,日期

xx暂时写为"xx"字符串即可
其中日期是  yyyy-MM-dd HH:mm:ss  格式的字符串

2、上传文件
http://112.74.44.47/VehicleWeb/upFile
文件以数据流的方式上传

3、上传照片 
http://112.74.44.47/VehicleWeb/upPotholes?height=value&position=value
原文地址:https://www.cnblogs.com/ruiy/p/9070648.html