Intellij IDEA 2019.2 对http client的功能增强

在Intellij IDEA 2019.2中对http client的功能进行了增强,主要有2个:

  • HTTP client supports cURL requestsULTIMATE
  • HTTP client keeps cookies

HTTP client supports cURL requestsULTIMATE

Now you can paste a cURL request string into the HTTP client and have the IDE automatically convert it to a full request.

HTTP client keeps cookies

Suppose you’ve made one request to authenticate on the service, and in subsequent requests you would like to call some endpoints that require additional permissions. Previously, you would lose the cookies from the first response. But not anymore: the IDE now keeps all the cookies for you and transfers them in the next requests.

以及早期的对http client 中host的支持。


  "local": {
    "host": "http://localhost:8080"
    "host" : ""


POST {{host}}/xxxxxx/v1
Content-Type: application/json

    "a" : 1


comments powered by Disqus