How do i set a useragent when I POST data in delphi?
I've set it for doing Get.. but there seems to be no option for PostUrlEncoded..the website I am posting to requires a useragent.
Does calling the AddHeader method of the HttpRequest object before posting the request work? e.g.
req.AddHeader "User-Agent", "My User Agent Value"
that worked, thank you