Request: curl -X POST -d '{ "payload": "my-secret-here", "payload_content_type": "text/plain" } ' http://localhost:9311/v1/12345/secrets
Response: Status Code: 500 {"code": 500, "description": "Secret creation failure seen - please contact site administrator.", "title": "Internal Server Error"}
Expected Response: Status Code: 201 {"secret_ref": "http://localhost:9311/v1/12345/secrets/a6a11dde-ad9b-48bb-85b8-a1774b5ddb8b"}
Request: content_ type": "text/plain" localhost: 9311/v1/ 12345/secrets
curl -X POST -d '{
"payload": "my-secret-here",
"payload_
}
' http://
Response:
Status Code: 500
{"code": 500, "description": "Secret creation failure seen - please contact site administrator.", "title": "Internal Server Error"}
Expected Response: localhost: 9311/v1/ 12345/secrets/ a6a11dde- ad9b-48bb- 85b8-a1774b5ddb 8b"}
Status Code: 201
{"secret_ref": "http://