That got it. Thanks! Jeff
> On Mar 17, 2015, at 12:39 PM, Altera WO Team <[email protected]> wrote: > > Hi, Jeffrey, maybe the & gets interpreted by the shell. Try enclosing the URL > in double quotes like that > > curl -X GET > "http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsOff?pw=mypassword&type=ins&name=myApp-2 > > <http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsOff?pw=mypassword&type=ins&name=myApp-2>" > > Should work > > > Matteo > >> On 15 Mar 2015, at 01:59, Jeffrey Schmitz <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi All, >> >> I’d like to be able to invoke the JavaMonitor Direct Actions via curl >> from the localhost command line in case I only have command line level >> access to my machine. I’ve tried a couple commands but they aren’t working >> (they do work from a browser). When I execute them, I always get a “…action >> failed: Invalid type null” error message. Here is a couple examples I tried: >> >> curl -X GET >> http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsOff?pw=mypassword&type=ins&name=myApp-2 >> >> <http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsOff?pw=mypassword&type=ins&name=myApp-2> >> >> curl -X GET >> http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsn?pw=mypw&type=ins&name=myApp-2 >> >> <http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsn?pw=mypw&type=ins&name=myApp-2> >> >> curl >> http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsn?pw=mypw&type=ins&name=myApp-2 >> >> <http://localhost:56789/cgi-bin/WebObjects/JavaMonitor.woa/admin/turnRefuseNewSessionsn?pw=mypw&type=ins&name=myApp-2> >> >> Any ideas what going on? >> >> Thanks! >> Jeff >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected] >> <mailto:[email protected]>) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40altera.it >> >> <https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40altera.it> >> >> This email sent to [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
