Remote API - When can multiline & json be used?

3 posts / 0 new
Last post
#1 Mon, 03/26/2012 - 02:30
RickSeymour

Remote API - When can multiline & json be used?

When can multiline & json be used within the Remote API calls?

I receive the Error when calling (e.g. create-domain) "Unknown option --multiline"

Ideally I should be able to pass the json and/or xml and/or multiline irrespective of the API call being used

I would suggest that json, xml, multiline are parameters that are excluded from $in{} and

Additionally can "sub api_error" also honour the formating passed

Also can json -> application/json xml -> text/xml perl / undef -> text/plain

Mon, 03/26/2012 - 22:42
JamieCameron

That's a good idea .. I will look into adding this in the next Virtualmin release or two.

''

Sat, 03/31/2012 - 14:52 (Reply to #2)
JamieCameron

This has been implemented for inclusion in Virtualmin 3.91

''

Topic locked