Hi All ,
I am unable to send the PUT request using the CURL command for storing the
secret .
root@barbican:~# curl -X POST -H 'content-type:application/json' -H
'X-Project-Id: 12345' -d '{secret: {name: secretname, algorithm:
aes, bit_length : 256, mode:
cbc}}'
Hi All ,
Now the command for put request has been successful .the content type for
the header needs to be text/plain.
I thought that the datatype for the data parameters would determine the
content type of the header.
For ex : In this case the data is passed in the following format