Working on an API call with a friend and we ran into a very weird error “No mapping for the Unicode character exists in the target multi-byte code page”.
I tried working through it but couldn’t figure it out so I asked Charlie Simmons (Tank from the AutoHotkey forum) to give me a hand. He worked through it after a bit of trial & error.
Turns out there was some sort of “illegal” character in the ResponseText field that the WinHTTP com object could not handle. You can get the script below, or download my updated API syntax writer.