trying to download a pdf from a web service using cfhttp get and keep getting the following error
Caused by: java.nio.charset.UnsupportedCharsetException: binary
I don’t have the problem in ACF, checked the headers using charlesproxy shows this…
Content-Disposition attachment; filename="xyxyxyxyxyx.pdf"
Connection close
Content-Type application/pdf; charset=binary
I tried using cfhttparams for the url vars, getasbinary=“true” specifying a charset doesn’t seem to change the error.
Any ideas?