✅ RestSharp
When I use this code, I get an exception, but when I use Postman, there is no problem
20 Replies
exception:
check the headers
and?
Compare those against the headers sent by postman
what if u do
Token is
⚠️ Also, you probably didn't want to post your client secret here
You probably need to reset half your application creds :SCgetoutofmyhead:
yeah dont post your secret and reset it to get new ones
:3PorangDisappointed:
@Arsenic I've upated the above code and tested with my own key and worked just fine.
There should be no point in using RestClient over HttpClient these days.
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
@leowest I still have a problem
so ur getting a timeout
looks like your ip could have been blocked
do u have a different ip u could try from?
or vps, or proxy
because I tried myself with that very same code and it all went thru.
Yes, I have a VPS.
I also tested it with JavaScript, there was no problem and it worked well, but it seems that C# is not going to be OK
so maybe your firewall is blocking the c# app
or antivirus
try it from a vps
solved now
ty
If you have no further questions, please use /close to mark the forum thread as answered