I am a newbie to DF, so someone may be able to answer this question very easily. So sorry for my ignorance. I have a URL on my own server that spits out JSON data and uses a few parameters such as this
It replies with a series of 5 numbers like this
["[883695600000,28.7960,29.9670,28.7960,29.9670]","[883954800000,29.6100,29.9670,29.5550,29.9670]", …
That works fine. So I created a service with those parameters in the config, added GET verbs ticked OUTBOUND (not sure I needed to but I tried it) . But when I go to API Docs and click on it nothing happens at all. I would have expected to have got a GET option and a Try it. Have I missed a crucial step? One thing I have not done is play around with the Service Definition. Would that be the reason?
They are currently
{
“resourcePath”: “/stocks”,
“produces”: [
“application/json”
],
“consumes”: [
“application/json”
],
“apis”: [],
“models”: {
“AddNew”: {
“id”: “AddNew”,
“subTypes”: []
}
}
}
Do I need to add parameters here? The JSON result from my external API are stock prices and they are Time, Open, Low, High, Close. How do I add them to the Service Definition Overview if that is the missing step? Or could it be something else like roles or CORS? Is there a error log I can see?
Any help much appreciated.