cfhttp Could not import data?

Hi, i am trying to do a http post, i have tested all my data and query database outputs and they all work fine. i am trying to get another system to import my order. all i have to do is sent it like so, so i was told..... Test Street&address2=&address3=&name=Mr Test2 &shipName=&company=&shipCompany=&shipAddress1=&shipAddress2=&shipAddress3=&city=Rockville&shipCity=&shipCounty=&shipPostCode=&country=USA&shipCountry=& Product:5:2.55:0.1:98&fax=&mobile=&Currency=Pound&post_code=20850&Amount=16.98&paymenttype=paypal&tel=301-762-1410&ClientIPAddress= 19:44:52&

so my post is like so (all data is correct and is pulling from the database on my side fine)...

<cfhttp method="Post" url=">
<cfhttpparam type="Formfield" value="#CartItems#" name="CartItems">

<cfhttpparam type="Formfield" value="123456862" name="MMID">
<cfhttpparam type="Formfield" value="#SESSION.protx.VendorTxCode#" name="order_id">

<cfloop query="customerTb">

<cfhttpparam type="Formfield" value="#ip#" name="ClientIPAddress">
      <cfhttpparam type="Formfield" value="#timedate#" name="timedate">
      <cfhttpparam type="Formfield" value="#paymenttype#" name="paymenttype">
      <cfhttpparam type="Formfield" value="#subtotal#" name="subtotal">
      <cfhttpparam type="Formfield" value="#delTotal#" name="delTotal">
      <cfhttpparam type="Formfield" value="#tax#" name="CartTax">


but all i get on there side is:

File Content:
Could not import data because no data or MMID

Microsoft VBScript runtime error '800a01f9'

Invalid or unqualified reference
Mime Type: text/html

anyone know why, does http work this way?
LVL 12
Who is Participating?
usachrisk1983Connect With a Mentor Commented:
It looks like you're using POST, but the other site is expecting a GET - try changing that and see if it helps.
pigmentartsAuthor Commented:
yes you were right thanks
Great, please accept the answer :)
Ooops, wasn't showing green in my browser, I see you did, d'uh! :)
pigmentartsAuthor Commented:
no problems thanks for helping me out
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.