Hi!
I'm trying to work with the custom spot definition API, but I have an issue that I don't understand.
I tried to push my data to the API in the URI, but I have a problem of length of the URI.
So I decided to post my data, with this line:
request.post(dandelionApiBaseURL+"custom-spots/v1?token="+token, mySpots, function (error, response, body) { /* My return actions */})
But when I type that, I have this error: "{"message":"Parameter [data] not found","code":"error.missingParameter","data":{"parameter":"data"},"error":true}"
I tried to replace mySpots by { data: mySpots], but it didn't change anything.
I'm quiet confused about how to solve this problem. Does anyone have an idea?
Thank you very much!
Tonio