wp_remote_post() on a project and it works great. But seems like the server on which I need to make the POST request is a Windows (ISS) server. So the third-party service that provides this specific endpoint requires that all POST requests has a Windows-1252 character encoding, otherwise there will be issues with special characters (like á, é, û, etc).
I did some research and seems like the way to go is to set a
Content-Type HTTP header which includes a charset (like
charset=Windows-1252). Tried to add the charset along with the content type (like
application/x-www-form-urlencoded;charset=Windows-1252), but nothing seems to work.
Does anyone know how to proper set the charset for an HTTP POST request using
Thanks in advance!