Explorar o código

衡力 上传修改为get

ajun %!s(int64=5) %!d(string=hai) anos
pai
achega
4b7d7b06bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/webApi/thirdPart/hengli/PackageController.http

+ 1 - 1
tests/webApi/thirdPart/hengli/PackageController.http

@@ -5,7 +5,7 @@
 ## * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
 ## * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
 ## * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
 ## * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
 
 
-POST http://bswas/api/thirdPart/hengli/weight/new
+GET http://bswas/api/thirdPart/hengli/weight/new
 Content-Type: application/json
 Content-Type: application/json
 
 
 {"weight":"0.33","length":"12","width":"11","height":"13","code":"548955255181","weight_at":"2020-03-30","hid":"测试衡力"}
 {"weight":"0.33","length":"12","width":"11","height":"13","code":"548955255181","weight_at":"2020-03-30","hid":"测试衡力"}