Mashery Support Portals Forums

Mashery API

RSS Feed

iodocs parameter type json

    • jorge
    • Topic created 1 year ago

    Does iodocs support passing a json object as a parameter. This is my structure {"myurl":"http://weather.yahooapis.com/forecastrss?w=2502265", "time":{"day":"2","month":"12","year":"2011","hour":"9","minute":"25","second":"0"} }

    so, how do I pass time as a structure ?

    Message edited by jorge 6 months ago

  1. jorge1 year ago

    To focus on the problem: My curl looks like this curl -v -H "Content-Type: application/json" -X POST -d '{"myurl":"http://weather.yahooapis.com/forecastrss?w=2502265", "time":{"day":"2","month":"12","year":"2011","hour":"9","minute":"25","second":"0"}}' http://localhost:8080/myapp/scheduler Can I use iodocs to produce the same type of request ?

  2. ManDevPro1 year ago

    Jorge, are you using the open source version of Mashery I/O Docs from GitHub?

  3. jorge1 year ago

    That is correct.

  4. sanmania6 months ago

    i am not

[ Page 1 of 1 ]