Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 18:45:48 +0000



Post From: Sending requests to a server

[2019-04-30 23:45:06]
uM8137 - Posts: 183
MakeHTTPPOSTRequest is very nice and useful functionality.

There is a small bug in it that does limit its utility quite a bit. The function ignores the port provided in the URL, and always attempts to post on port 80. For example, the URL "http://127.0.0.1:9090/hello" will ignore the port 9090 request, and try to bind 127.0.0.1:80 instead. Since low ports like 80 are reserved for superuser typically, and often in use for other purposes, this is suboptimal.