AnsweredAssumed Answered

USING JSON JSONSetElement

Question asked by jeremy_oz on Oct 3, 2017
Latest reply on Oct 7, 2017 by beverly

HI ALL

 

I am trying to interface one of my databases to our websites' CMS via JSON,

 

I am new to creating urls to post the data and i am unsure of the syntax

 

It is a POST command

 

I have a URL and an API key and i have created using JSONSetElement the $$JSON var i am just unclear on the right structure

 

The CMS developer has provided me with their API access

 

url https://dev.boatdeckcrm.com.au/

API Key "XYZ123"

https://dev.boatdeckcrm.com.au/api/listing?key=[dealer_api_key]

 

when i run the insertfromurl i get a meaningful error message asking me for the JSON data which i have in a var $$JSON

 

so my question is how do i glue the string together

 

is it create a $url somewhat like https://dev.boatdeckcrm.com.au/api/listing?key=123456?$$JSON or

 

https://dev.boatdeckcrm.com.au/api/listing?key=123456&?$$JSON

 

hope this question is not too simple.

 

best regards

 

Jeremy

 

 

 

 

 

 

Outcomes