API- can't connect: error: Cannot find first space after where GET or POST should be

Roko

New member
Joined
Jul 26, 2016
Messages
1
Hi.
trying to use CMD_API_DOMAIN_POINTER for displaying current domain pointers.

I'm using a simple get request (I don't use PHP)
request:

https://admin:p[email protected]:2222/CMD_API_DOMAIN_POINTER
with parameter:
domain: my_domain


Using the debug mode with 2000 I get the following error logs:

Sockets::handshake - begin
Sockets::handshake - end
Cannot find first space after where GET or POST should be

If I increase debug mode to 8000 I get the following error logs:

Program Location: Sockets::closeMain
Program Location: Sockets::handshake
Sockets::handshake - begin
Program Location: Sockets::handshake:done
Sockets::handshake - end
InternalText::load(authentication): reading in ./data/skins/enhanced/lang/en/internal/authentication.txt
ConfigFile::ensureRoom: param=16 size=64
InternalText::init(authentication)
Program Location: Request::readAndProcess(*skt, xxx.xx.xx.xxx, xxx.xx.xx.xxx) : start
Program Location: Request::readAndProcess(*skt, xxx.xx.xx.xxx, xxx.xx.xx.xxx) : first line received
Cannot find first space after where GET or POST should be
Program Location: Request::readAndProcess(*skt, xxx.xx.xx.xxx, xxx.xx.xx.xxx) : no space after GET/POST
Program Location: Sockets::goodbye(): start
Sockets::shutdown_ssl(SSL *ssl): start
Sockets::shutdown_ssl(SSL *ssl): finished
Program Location: Sockets::goodbye(): finished
Program Location: Sockets::closeConn
Program Location: Clean system(7)
Program Location: ~InternalText::1
Program Location: ~InternalText::2
Program Location: ~InternalText::3
Program Location: Clean system(7): done
Program Location: License::~License : start
Program Location: License::~License : done
Program Location: Sockets::~Sockets : start
Program Location: Sockets::~Sockets : end
Program Location: Command::~Command : start
Program Location: Command::~Command : done
Program Location: Send::~Send : start
Program Location: Send::~Send : 2
Program Location: Send::~Send : 3
Program Location: Send::~Send : 4
Program Location: Send::~Send : done
Program Location: Request::~Request : start
Program Location: Clean system(9)
Program Location: Clean system(9): done
Program Location: Request::~Request : done
Program Location: Log::~Log : start
Program Location: Log::~Log : done
Program Location: Config::~Config : start
Program Location: Config::~Config : done
Program Location: Waiting for child exit : 5 servers
Program Location: Sockets::wait()

Any suggestions?

Thank you
 
Back
Top