0 Replies Latest reply on Feb 19, 2009 12:58 PM by ACS LLC

    Problem with CFHTTP

    ACS LLC Level 1
      I have a problem with CFHTTP, just a simple get, I'm getting Connection Failure

      <cfhttp url = "DOMAIN IN HERE" method = "get">

      This does not happen on all domains. I tried to dig out info and it was suggested that the server sending the content might be using encoding and that a
      <cfhttpparam type="Header" name="charset" value="utf-8" />

      However when I try to add this I'm getting a CFerror, it looks like I'm not putting it in the right place

      Appreciate any assistance!

      AFTER POSTING:
      I found a solution. The problem was that I did not have the closing /CFHTTP after the CFHTTP

      added the close tag, and put this before hand, and it works

      <cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0">
      <cfhttpparam type="Header" name="TE" value="deflate;q=0">




      Mark