app1.http 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. @webapp_HostAddress = http://localhost:5101
  2. GET {{webapp_HostAddress}}/weatherforecast/
  3. Accept: application/json
  4. ###
  5. GET {{webapp_HostAddress}}/product
  6. Accept: application/json
  7. ###
  8. POST {{webapp_HostAddress}}/product
  9. Content-Type: application/json
  10. {
  11. "ID": 0,
  12. "Title": "Test",
  13. "ProductTypeID": 2,
  14. "ArticleNumber": "123"
  15. }
  16. ###
  17. DELETE {{webapp_HostAddress}}/product/103
  18. ###
  19. GET {{webapp_HostAddress}}/productCount
  20. Accept: application/json
  21. ###
  22. PUT {{webapp_HostAddress}}/minCostForAgent/1000
  23. Content-Type: application/json
  24. [102, 101, 100]
  25. ###
  26. GET {{webapp_HostAddress}}/articleCheck/266521/3
  27. Accept: application/json
  28. ###
  29. GET {{webapp_HostAddress}}/saleCount/12
  30. Accept: application/json
  31. ###
  32. DELETE {{webapp_HostAddress}}/productMaterial/4
  33. Accept: application/json
  34. ###
  35. DELETE {{webapp_HostAddress}}/productCostHistory/1
  36. Accept: application/json
  37. ###
  38. GET {{webapp_HostAddress}}/productMaterial/4
  39. Accept: application/json
  40. ###
  41. GET {{webapp_HostAddress}}/material
  42. Accept: application/json
  43. ###
  44. POST {{webapp_HostAddress}}/productMaterial
  45. Content-Type: application/json
  46. {
  47. "ProductId": 5,
  48. "MaterialId": 5,
  49. "Count": 5
  50. }