Skip to content

Instantly share code, notes, and snippets.

@flohei
Created April 12, 2020 17:25
Show Gist options
  • Save flohei/12ba2301641df36256389f6f921cf962 to your computer and use it in GitHub Desktop.
Save flohei/12ba2301641df36256389f6f921cf962 to your computer and use it in GitHub Desktop.
#!/bin/sh
raw_title="%filltext:name=title%"
api_url="http://brettterpstra.com/titlecase/"
response=`curl --silent --data-urlencode "title=$raw_title" $api_url`
echo $response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment