I’d like to download an html page but the page requires the visitor to fill in a html form first. I’m using REST’s TWebHTTPRequest to emulate it with POST method and an additional "Content-Type=application/x-www-form-urlencoded” headers. But it failed as if it sends nothing to the form. Is there a way to do it correctly?
Could we override the request origin by setting it in the headers? I’ve tried it but it failed. Perhaps there is some other things I need to do as well?