Communication between server and c++ winsocket

Website URL

(http://illusionary.rf.gd/)

Error Message

HTTP/1.1 200 OK
Server: nginx
Date: Sat, 29 Apr 2023 07:30:39 GMT
Content-Type: text/html
Content-Length: 844
Connection: close
Vary: Accept-Encoding
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache

This site requires Javascript to work, please enable Javascript in your browser or use a browser with

Other Information

So I am trying to send a request from my c++ client to my backend script. I previously used xampp to locally host everything and there it worked just fine. However, when I send a request from my c++ client, I get that error for some reason and I am unsure what it means. Does the server not support raw HTTP requests? or is it that it can’t handle a request body?

full error message:

HTTP/1.1 200 OK
Server: nginx
Date: Sat, 29 Apr 2023 07:44:28 GMT
Content-Type: text/html
Content-Length: 836
Connection: close
Vary: Accept-Encoding
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache

This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support

or not, it did not let me send the entire message? Here is a screenshot then:

https://i.imgur.com/DbW7TsU.png

Likely due to this

Take note IF is meant for webhosting.
Only PHP and MySQL are supported

If C++ is on server-side, it will not work

5 Likes

Well, the c++ is not on the serverside. It’s a client which I stated. But from your link I’d assume I need paid hosting if I want to be able to send requests toi the serevr from my c++ client.

2 Likes

Correct.

Non-web browsers cannot make requests to your website. This is to help prevent agents attacks on your site.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.