I do this a lot in my work. Generally it is up to how the server wants to receive the JSON. There are several ways to do it depending on the verb the server side is looking for. Is this for some kind of public API or do you have any information on the API you are trying to work with?
Usually I just put whatever JSON I am looking for into a variable and simply " post theOjbectVariable to URL (theEndpointURL) " You can also use put instead of post to get the http PUT verb. Some API's provide a hacky way to use PATCH verbs as well by specifying the verb in the header. Andrew On Thu, May 23, 2013 at 2:59 PM, Monte Goulding <mo...@sweattechnologies.com > wrote: > Take a look at JSON.org for the file format. I have a desktop/server > external that does ArrayToJSON and visa versa if that helps. It's utf8 > only. It's currently GPL licensed and I intend to do a commercial license > when someone wants one ;-) > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 24/05/2013, at 5:45 AM, Thomas McGrath III <mcgra...@mac.com> wrote: > > > I have a server project where I need to send some JSON to a URL. I've > never done this before. Has anyone got a simple example/explanation of how > this is achieved? > > > > Thanks in advance. > > > > Tom > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > mcgra...@mac.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe and...@ctech.me _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode