Http client - Response not shown in console nor saved
已回答
After a request send by intellij with a http scratch file i get the following response:
HTTP/1.1 200 OK
Content-Length: 450
Content-Type: application/json;charset=UTF-8
Strict-Transport-Security: max-age=15724800; includeSubDomains
Date: Wed, 21 Jun 2023 09:16:36 GMT
Response file saved.
> Cannot show response because logging into a file is disabled
Response code: 200 (OK); Time: 107ms (107 ms); Content length: 450 bytes (450 B)
The response is not shown in the console nor save in the folder .idea/httpRequest
Is the error correct ? If yes where can I enable this logging ? That is really annoying because, with that error, the http file are just useless.
Intellij version: IntelliJ IDEA 2023.1.1 (Ultimate Edition)
请先登录再写评论。
Hi,
Does the HTTP Request contain
// @no-log
? I ask because this annotation disables any output into files completely. More details hereIf not, please share an example of the HTTP Request so we can try to reproduce it from our side.
Hi,
Indeed there is a @no-log, i didn't see it.
Thanks for the quick answer.