API Documentation
POST
/api/v1/binary-textBinary Text
Convert between binary and text
converters
Parameters
inputstringText or binary string
actionstring'encode' or 'decode'
Default: encode
Example Request
curl -X POST https://devtools.at/api/v1/binary-text \
-H "Content-Type: application/json" \
-d '{"input":"Hi","action":"encode"}'Example Response
{
"success": true,
"data": {
"result": "01001000 01101001"
},
"meta": {
"processingTime": 1
}
}Try it out
Test this endpoint directly in your browser
Response
Click "Execute Request" to see the response