View Single Post
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-23-2021 , 04:08   Re: socket_* returns Bad Request
Reply With Quote #15

Quote:
Originally Posted by Black Rose View Post
The missing slash was the reason for 400. HTTP servers are picky bastards.
https://en.wikipedia.org/wiki/Hypert...Client_request

The example code gives me "301 Moved Permanently" followed by the new link to follow. This is expected since the server enforces SSL which is not supported by sockets by itself. This was not the case when the tutorial was written. Using curl is your best option in these cases.

Spoiler
Thank you all, I thought so it is from sockets module.
I will contiune my project using curl.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline