Correct, the HttpServer class can only handle (client) requests and respond to them.
A HttpServer is bound to an IP address and port number and listens for incoming TCP connections from clients on this address
If you want to POST
a request to another service, you’ll need to implement a client to do so using something like HttpClient.
solved How to make POST request with HttpServer?