linux可以通过curl命令请求http,https网络请求
header参数可以设置多个属性值,通过每个header的值前面都分别带一个-H;
body 参数请求通过-d 带值传参数
-X属性可以设置(POST/GET/HEAD/DELETE/PUT/PATCH)请求
url可以直接设置 http://10.222.100.13:8870/billing-db/anew-billing
curl -H "Content-Type: application/json" -H "Authorizatio:aggregete" -H "binfile-md5:123456" -H "binfile-auth:65b2ec39c413ae660e6a96e4b73390394391420d5e57636af62a4eb43f7a961a" -d '{"isDiscount":"2","issuerId":"440101","tollIntervals":"","enTime":"2022-04-05T17:58:55","fittingType":"1","vehicleClass":"0","vehicleId":"粤B9Z69Y_1","vehicleType":"1","exitFeeType":"4","axleCount":"2","passId":"014401180223221611200420220405175855","mediaType":"9","exVehicleType":"1","enStationId":"G0004440030250","exStationId":"S0047440030120","exTime":"2022-04-07T10:03:38","fitting":"2","interCall":"closingServerr","spare1":"","spare2":"","spare3":"","spare4":"","spare5":"","spare6":"","spare7":"","spare8":"","dbSpringWater":"2"}' -X POST http://10.222.100.13:8870/billing-db/anew-billing