POST /signature/create
Create a digital signature for provided data.
{{baseUrl}}/signature/create
Headers
Header | Type | Description |
---|---|---|
x-api-key | string | The API key required for authentication. |
Request Body
Parameter | Type | Description |
---|---|---|
privateKey | string | The private key used to sign the provided data. |
data | string | The data to be signed. |
Sample Request Body:
{
"privateKey": "59a85d6d233ffaf32d25d801dfb83a63dd9d6635ff2b8654b589f827bf95304f",
"data": "Hello, world!"
}
Click Send
and wait for the response.
Response (Success - 200)
Parameter | Type | Description |
---|---|---|
signature | string | The generated digital signature for the provided data. |
Sample Response Body:
{
"signature": "304502201a98bbf689941771477cf111d8ed436f1cd66ec52ff84178a1c5e21b27acb8d20221008718ef15bd46d34f60f224d9bfa69edd88abf9ee68b097b02dc8a837086dee51"
}
Response (Server Error - 500)
Parameter | Type | Description |
---|---|---|
error | string | Describes the error that occurred. |
Sample Response Body:
{
"error": "Server error"
}