Jonathan Vanasco wrote: > The Original Poster was not talking about a WEB API for REST/JSON, he > said Command Line API
Well I'm the OP here. :-) Anyway, if I understand correctly, Chris suggested outputting JSON to a scripting client, which would work like this: - scripting client calls normal URIs in the web app over http, but would set "Accept: application/json" header in the request. - web app understands that if above header is set, it should output JSON, which is then parsed by the client's JSON reader. IOW, if I understand correctly, Chris suggested that scripting library / commandline tool should be a thin wrapper around code producing HTTP requests and parsing JSON replies (right?). Regards, mk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
