Post

IDEA HttpRequest in Services Window

IDEA 的 HTTP Client(.http 檔)執行後,回應不是出現在 Run 視窗,而是在 Services 視窗。

  • 建立請求檔:Tools -> HTTP Client -> Create Request in HTTP Client
  • .http 檔每個請求左邊有綠色箭頭,按下去執行,結果顯示在 Services 視窗的 HTTP Client 節點下。
  • 歷史紀錄:Tools -> HTTP Client -> Show HTTP Requests History,回應檔存在 .idea/httpRequests/
1
2
GET http://localhost:8080/api/users
Accept: application/json
This post is licensed under CC BY 4.0 by the author.