Skip to content

Instantly share code, notes, and snippets.

@florabtw
Created August 19, 2018 04:33
Show Gist options
  • Save florabtw/ce8c3cf990a09b4c88797549d1ece76c to your computer and use it in GitHub Desktop.
Save florabtw/ce8c3cf990a09b4c88797549d1ece76c to your computer and use it in GitHub Desktop.
POST to Sound Of Text with curl
#! /bin/bash
curl \
-X POST \
-H "Content-Type: application/json" \
-d '{ "data": { "voice": "en-US", "text": "Hello, world!" } }' \
https://api.soundoftext.com/sounds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment