So, I am trying to hook into a very basic API using JSON translating their suggested cURL call to CFHTTP. I have proven that my authentication is valid and working, that I am passing the appropriate values and even applying the header values I have found suggested for pages that might cause issues in CF with compression and/or encoding. But I am still getting the following error:
I/O Exception: Premature EOF encountered
Does anyone here have any suggestions as to what may be going wrong? This is
running on CF9.0.1. Here is my code:
<cfhttp throwonerror="no" username="<xxx>" password="<xxx>"
url="http://<xxx>.yospace.com/create">
<cfhttpparam type="header" name="accept-encoding" value="*">
<cfhttpparam type="header" name="te" value="deflate;q=0">
<cfhttpparam type="url" name="profile" value="1001">
<cfhttpparam type="url" name="name" value="2000">
</cfhttp>
<cfdump var="#CFHTTP#">
thanks!
Kevin Bachman
Web Applications Developer
t: 678.405.1197
e: [email protected]<mailto:[email protected]>
w: www.activegroup.net<http://www.activegroup.net>
[Active-group-email-signature]
This email, and any files transmitted with it, is confidential and intended
solely for the use of the individual or entity to whom it is addressed. If you
received this in error, please contact the sender immediately and delete the
material from any computer.
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
<<inline: image001.gif>>
