> What error are you seeing?
>
>
> > Dear List,
> >
> > I am trying to install telnet RPM on a client using katello API with curl.
> > Following the documentation it must be:
> >
> >
> > -----------------------------------------------------------------------------
> > POST /api/v2/systems/:system_id/packages/install
> >
> > using packages and group parameters
> >
> > -----------------------------------------------------------------------------
> >
> > I have tried with no success:
> >
> > # curl -k -u user:pass,. -X POST -H 'Accept: application/json'
> > https://server.example.com/katello/api/v2/systems/e010c75a-3248-4d4c-a4bd-701fc2f22d75/packages/install?packages=telnet
> >
> > Please can anybody show me how can I perform correctly this action using
> > 'curl' API call ?
> >
> > Many thanks in advance,
> > Benja.
Since you're POSTing data, i think you'll want to pass the data as an argument as opposed to params on the end
of the url. Also be sure to set the content-type header to json as well.