Open ghost opened 5 years ago
The following methods both result in an HTTP 400 response:
RestResponse response = new Rest().url(fVaultUrl + "/v1/pki/revoke").header("X-Vault-Token", fVaultToken).parameter("serial_number", serialNumber).post();
RestResponse response = new Rest().url(fVaultUrl + "/v1/pki/revoke").header("X-Vault-Token", fVaultToken).header("serial_number", serialNumber).post();
The call returns '204' when using curl.
The following methods both result in an HTTP 400 response:
RestResponse response = new Rest().url(fVaultUrl + "/v1/pki/revoke").header("X-Vault-Token", fVaultToken).parameter("serial_number", serialNumber).post();
RestResponse response = new Rest().url(fVaultUrl + "/v1/pki/revoke").header("X-Vault-Token", fVaultToken).header("serial_number", serialNumber).post();
The call returns '204' when using curl.