how do i perform GET operation in rest api ?

asked 2017-10-04 02:23:11 -0500

Hemant gravatar image

I am unable to perform GET operations. Suppose I am trying to perform "GET /{environment}/certificate_status/{certname}" action. I am using POSTMAN app in the chrome for testing. Using this app i am trying to perform GET operation, along with query parameter, but unable to do so.

Can you suggest how can I pass the value and run the GET action using the REST API? if any different app is required, then suggest? Kindly suggest the format of how the data can be passed?

I want to do GET and GET with query parameter in rest api.

Also please tell me can I do it using "curl" or can I do it by modifying manifest(pp) file.

edit retag flag offensive close merge delete


Usually everything's forbidden: You have ta allow it. Also: root@c042:/var/lib/puppet/ssl# curl --key private_keys/c042.cnet.pem --cert certs/c042.cnet.pem --cacert certs/ca.pem https://puppet.cnet:8140/production/catalog/c042.cnet

Kai Burghardt gravatar imageKai Burghardt ( 2017-10-16 18:39:00 -0500 )edit