curl : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete.

1 개요[ | ]

curl : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete.
PS C:\> curl http://localhost:9182
curl : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the
UseBasicParsing parameter and try again.
At line:1 char:1
+ curl http://localhost:9182
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException
    + FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

2 해결방법[ | ]

  • -UseBasicParsing 옵션을 붙인다.
PS C:\> curl http://localhost:9182 -UseBasicParsing


StatusCode        : 200
StatusDescription : OK
Content           : <html>
                    <head><title>hello_world</title></head>
...

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}