cURL
curl --request POST \ --url https://api.dirtroad.dev/tools/string-utils/capitalize-first-letter \ --header 'Content-Type: application/json' \ --header 'X-Payment: <api-key>' \ --data ' { "str": "<string>" } '
{ "original": "<string>", "result": "<string>" }
Capitalize only the first letter of the string Requires x402 blockchain payment.
x402 blockchain payment authorization header containing signed EIP-3009 Transfer with Authorization
Input string to process
String with first letter capitalized
Original input string
Processed result string