Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph endpoint produces HTML instead of ascii/ansi with powershell #62

Open
pie-flavor opened this issue May 15, 2022 · 0 comments
Open

Comments

@pie-flavor
Copy link

pie-flavor commented May 15, 2022

Invoke-WebRequest rate.sx/eth
<html>
<head><title>rate.sx</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="/files/style.css" />
<link rel="stylesheet" type="text/css" href="/files/fonts/stylesheet.css" />
<style type="text/css">
.ef0,.f0 { color: #000000; } .eb0,.b0 { background-color: #000000; }
.ef1,.f1 { color: #CD0000; } .eb1,.b1 { background-color: #CD0000; }
.ef2,.f2 { color: #00CD00; } .eb2,.b2 { background-color: #00CD00; }
.ef3,.f3 { color: #CDCD00; } .eb3,.b3 { background-color: #CDCD00; }
.ef4,.f4 { color: #0000EE; } .eb4,.b4 { background-color: #0000EE; }
.ef5,.f5 { color: #CD00CD; } .eb5,.b5 { background-color: #CD00CD; }
.ef6,.f6 { color: #00CDCD; } .eb6,.b6 { background-color: #00CDCD; }
.ef7,.f7 { color: #E5E5E5; } .eb7,.b7 { background-color: #E5E5E5; }

PSVersionTable:

Name                           Value
----                           -----
PSVersion                      7.2.3
PSEdition                      Core
GitCommitId                    7.2.3
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant