API Documentation
POST
/api/v1/yaml-jsonYAML/JSON
Convert between YAML and JSON formats
converters
Parameters
inputstring|objectYAML string or JSON object
actionstring'yamlToJson' or 'jsonToYaml'
Default: yamlToJson
Example Request
curl -X POST https://devtools.at/api/v1/yaml-json \
-H "Content-Type: application/json" \
-d '{"input":"name: John\nage: 30","action":"yamlToJson"}'Try it out
Test this endpoint directly in your browser
Response
Click "Execute Request" to see the response