Jump to content

Using API from other languages


Recommended Posts

I am using CFML not PHP, so trying to decipher the examples.

I have got the basic commands working by doing form posts (name/value), however not really sure how the JSON/XML versions work.


As far as I can tell (i do not know PHP BTW), the XML and JSON examples are just converting all the name value pairs into a querystring and posting it

e.g. name1=value1&name2=value2

which of course is not XML or JSON, and I cannot see that is is converting this querystring into XML or JSON either, also the example code shows it is using POST and not GET, which means the querystring is being sent in a formfield? so am a bit confused.

Can someone explain what the PHP code does in pseudocode.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated