parsec-cloud / parsec-sdk

Low latency, peer-to-peer, interactive streaming.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client example doesn't work

Silent-Hunter opened this issue · comments

Or, I never get to actually try it because I can't get a session ID. It just says Bad Gateway.

curl -X "POST" "https://api.parsecgaming.com/v1/auth" -H 'Content-Type: application/json' -d $'{ "email": "myemail@example.com", "password": "mypassword", "tfa": "currenttfa" }' outputs:

<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.15.12</center>
</body>
</html>

instead of a session ID.

@Silent-Hunter Try to use https://kessel-api.parsecgaming.com/v1/auth for now, works for me as alternative.