Re: Help running commands via the TSM REST api

2016-11-23 Thread Jakob Jóhannes Sigurðsson
ob Jóhannes Sigurðsson <jakob.sigurds...@nyherji.is> Subject: Re: Help running commands via the TSM REST api Hallo Jose and Jakob. The Rest API exists for the OC and the CMS. If you use the OC REST API connection and would like to register a node, please try the following example which i devel

Re: Help running commands via the TSM REST api

2016-11-23 Thread Michael Malitz
Hallo Jose and Jakob. The Rest API exists for the OC and the CMS. If you use the OC REST API connection and would like to register a node, please try the following example which i developed for my 3 - day TSM/IBM Spectrum Protect 7.1.7 Update Workshop. node name: node_black_rest 1.) create a

Re: Help running commands via the TSM REST api

2016-11-22 Thread Robert Jose
Hello Jakob I do not know the curl application very well, but I did notice that when using the -data option, it sets the consume type to "application/x-www-form-urlencoded". Unfortunately, the OC REST API does not support this consumption. You will need to change it to consume "text/plain". Sorry