Having pressed send, I thought about this some more. Ideally we should have a set of samples demonstrating the use of cUrl with ooRexx and I wonder if it wouldn't be really nice if they demonstrated using a restful interface with the JSON class.
I have code for a GET and a POST using JSON class with Mark's rexx/cUrl, but it was really a novice scrabbling around in the dark. If anyone could produce samples demonstrating POST & GET, along with PUT, PATCH & DELETE it would be a great resource. Jon On Mon, 2 Jan 2023 at 18:08, Sahananda Sahananda <sahana...@gmail.com> wrote: > I think that the usage section should briefly explain what cUrl is or what > cUrl does. > I remember the first time I met it as a Rexx programmer it was confusing. > > Could be as simple as. > > N.B.: This program uses "curl" to retrieve data and documents from the > internet on all platforms. You can find more information > on the Internet or <https://curl.se> <https://curl.se/> and > <https://en.wikipedia.org/wiki/CURL> <https://en.wikipedia.org/wiki/CURL>. > > > hth Jon > > > On Mon, 2 Jan 2023 at 17:28, Rony G. Flatscher <rony.flatsc...@wu.ac.at> > wrote: > >> The usage section now adds at the end: >> >> N.B.: This program uses "curl" on all platforms. You can find more >> information >> on the Internet or <https://curl.se> <https://curl.se> and >> <https://en.wikipedia.org/wiki/CURL> <https://en.wikipedia.org/wiki/CURL>. >> >> >> ---rony >> On 02.01.2023 18:19, Rony G. Flatscher wrote: >> >> Dave, could you look at the enclosed sample and give some feedback >> whether it serves its purpose (demonstrate the new ADDRESS...WITH in an >> understandable manner)? >> >> ---rony >> >> >> On 02.01.2023 14:53, Dave Jones wrote: >> >> Not knowing very much about the new ADDRESS...WITH... feature, I would >> think that it would be a very useful example. >> DJ >> >> On Mon, Jan 2, 2023 at 7:08 AM Rony G. Flatscher <rony.flatsc...@wu.ac.at> >> wrote: >> >>> One of the many new great features of ooRexx 5.0.0 is the ADDRESS...WITH >>> variant. >>> >>> In order to demonstrate how to use it, here an idea: have a sample that >>> uses curl command (available >>> on all modern operating systems) to fetch the latest ooRexx >>> documentation files from SourceForge and >>> download them into a subdirectory named docs.V, where "V" would be the >>> ooRexx version. Supplying the >>> optional ooRexx version (e.g. "4.2.0", "5.0.0", "5.1.0beta", etc.) would >>> download all the >>> documentation files from the given SourceForge oorexx-docs directory. >>> >>> What do you think, would that be a helpful sample to add to ooRexx? >>> >>> ---rony >>> >> >> _______________________________________________ >> Oorexx-devel mailing list >> Oorexx-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/oorexx-devel >> >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel