title: Convert a curl POST request to Python only using standard library
body: <p>I would like to convert this curl command to something that I can use in Python for an existing script. </p>
  
  <pre><code>curl -u 7898678:X -H 'Content-Type: application/json' \
  -d '{"message":{"body":"TEXT"}}' http://sample.com/36576/speak.json
  </code></pre>
  
  <p>TEXT is what i would like to replace with a message generated by the rest of the script.(Which is already working reasonable, although I don't think it is following best practices or particularity reliable. - need to find out how to properly learn to program (ie not use google for assembling stuff))</p>
  
  <p>I would like this to work with the standard library if possible.</p>