I have created a local HTTP server (using Java’s HttpServer class) to redirect end-users after authenticating themselves to an authorization server using OAuth 2.0. Is it possible to send a POST request from this server to the authorization server through HttpServer (to continue with the OAuth process)? If not, how should I send a POST request from this server to the authorization server?
The Java documentation seems to suggest that the HTTP Server can only respond to requests and not send any requests itself.
Thanks in advance.