test.http 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
  2. ##
  3. ## Following HTTP Request Live Templates are available:
  4. ## * "gtrp" and "gtr" create a GET request with or without query parameters;
  5. ## * "ptr" and "ptrp" create a POST request with a simple or parameter-like body;
  6. ## * "mptr" and "fptr" create a POST request to submit a form with a text or file field (multipart/form-data);
  7. POST http://bswas/api/thirdPart/weight/new
  8. Content-Type: application/json
  9. {"id": "TESTgpios","barcode": "test200928-c","weight": "697","length": 1010,"width": 1009,"height": 1000}
  10. ###
  11. POST http://bswas/api/thirdPart/weight/new
  12. Content-Type: application/json
  13. {"barcode":"t1","weight":"5","id":"test","key":"test","time":"2020-2-26 14:17:07"}
  14. ###
  15. POST http://106.14.155.246:19192/datahub/FluxBSJsonApi/TASK
  16. Content-Type: application/json
  17. {"request":{"TASKID":"75331710268640","SOReference5":"75331710268640","Weigh":"0.05","Addwho":"","Addtime":"2020-02-28 17:30","Package":"xx","USERDEFINE1":"W200228000193","USERDEFINE2":"01.[ALLBLU]普通波次","USERDEFINE3":"OK"}}
  18. ###
  19. POST http://bswas/userDutyCheck/storeUserDetail
  20. ###
  21. POST http://bswas/laravel-trix/attachment
  22. Content-Type: application/json
  23. ###
  24. GET http://localhost:8090/?orderno=%testno%&codename_c_end=10
  25. ###