Displaying 1 result from an estimated 1 matches for "desired_state".
2013 Dec 10
0
PUT type REST API
Hi,
I was trying to use Postman REST Client (Chrome App) to run PUT operation
for Puppet Master REST API with following settings:
URL: https://<PuppetMasterHost>:8140/production/certificate_status/<certname>
Under Headers - content-type:text/pson
Under Body: {"desired_state":"signed"}
It results in HTTP 400 with message "Could not intern from pson: source
''------WebKitFormBoun'' not in PSON!"
When content-type is changed to any other type than text/pson, it fails
with error "Client sent a mime-type (<CONTENT-TYPE&g...