Encoding German characters calling a REST API

Use unicode to cast your strings instead of str. (It's a python 2.7 thing)

Example:

unicode('strings with special characters go here')