You are more on track with the second one than the first. I have two comments. First, you are using a POST method and the documentation for the companies method states that it should be a GET method. Second, you are replacing MYKEYHERE with your assigned assigned API key, correct?
On Mon, Jan 19, 2015 at 11:25 AM, Robert Harrison <rharri...@aimg.com> wrote: > > The two most promising have been: > > <cfset tmp = {} /> > <cfset tmp['Authorization'] = "Token token='MYKEYHERE'" /> > > <cfhttp url="https://api.callrail.com/v1/companies.json" result="r" > method="post" > > <cfhttpparam type="header" name="content-type" value="application/json" /> > <!---<cfhttpparam type="body" value="#origTemp#" />---> > <cfhttpparam type="body" value="#serializeJson(tmp)#" /> > </cfhttp> > > <cfdump var="#r#" /> > > AND > > <cfhttp url="https://api.callrail.com/v1/companies.json" result="r" > method="post" > > <cfhttpparam type="header" name="Authorization" value="Token token=' > MYKEYHERE''" /> > </cfhttp> > <cfdump var="#r#" /> > > > Robert Harrison > Full Stack Developer > AIMG > rharri...@aimg.com > Main Office: 704-321-1234 ext.121 > Direct Line: 516-302-4345 > www.aimg.com > > > -- [image: profile picture] *Dean Lawrence* *President* Internet Data Technology *Phone:* 888-438-4381 x701 *Web:* www.idatatech.com *Email:* d...@idatatech.com Programming | Database | Consulting | Training ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359996 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm