ChatGPT can act as a web server, receiving HTTP requests and responding with valid HTTP responses. Not only that: it guesses the api functionality from stuff like the hostname and url, and actually produces valid results for the api!