getting data from get request not work
FIXED BY CURL
1. AmxxCurl 2. LINUX: download and move curl_amxx_i386.so to amxmodx/modules (server) 3. write curl_amxx in amxmodx/configs/modlues.ini (server) 4. put the includes: curl.inc and curl_consts.inc in amxmodx\scripting\include (server and compiler) FIX Code:
#include <amxmodx>code Code:
#include <amxmodx>Code:
HTTP/1.1 400 Bad Request |
Re: getting data from get request not work
Have You Tried other sites?
Because alliedmods are using Cloudflare, it blocks the weird request and terminates your conexion. |
Re: getting data from get request not work
Quote:
Code:
#define TOPIC "/global/il-en/black-acer-nitro-ed270-xbmiipx-um-he0aa-x01-27/p/N82E16824011367?Item=N82E16824011367&cm_sp=Homepage_dailydeals-_-P1_24-011-367-_-05122021"Code:
HTTP/1.0 408 Request Time-out |
Re: getting data from get request not work
You can't connect to https websites using sockets. Use curl.
|
Re: getting data from get request not work
Quote:
and why this tutorial not removed ? https://forums.alliedmods.net/showthread.php?t=151401 |
Re: getting data from get request not work
found this: https://github.com/Polarhigh/AmxxCurl/releases
but i dont know how install this |
Re: getting data from get request not work
Quote:
Quote:
2. Unzip and place the binary in "cstrike\addons\amxmodx\modules". 3. Open "cstrike\addons\amxmodx\configs\modules.i ni" and put "curl_amxx" on a new row in there. Simple as that. More information here: https://forums.alliedmods.net/showthread.php?t=285656 Bad request is not from HTTPS conflict, it's because your request header is incorrectly formatted. When SSL/TLS is forced you should get 301 Moved Permanently. HTTP has a very specific format and is not tolerant to mistakes, you can't just throw in spaces because you want to. You also need the double newline at the end of the request. Should look like this: Code:
|
Re: getting data from get request not work
Quote:
Code:
HTTP/1.1 301 Moved Permanently |
Re: getting data from get request not work
Quote:
|
Re: getting data from get request not work
curl works
|
| All times are GMT -4. The time now is 02:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.