Sfoglia il codice sorgente

0731 增加http请求脚本

Qing 10 mesi fa
parent
commit
0f88c845ab
2 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. 7 0
      springcloud-demo/http/post.http
  2. 2 0
      springcloud-demo/http/token.http

+ 7 - 0
springcloud-demo/http/post.http

@@ -0,0 +1,7 @@
+POST http://localhost:8080/openfeign/postUser
+Content-Type: application/json
+
+{
+  "name": "zhangsan",
+  "age": 90
+}

+ 2 - 0
springcloud-demo/http/token.http

@@ -0,0 +1,2 @@
+GET http://localhost:8080/openfeign/token
+token: 12345678