Curl Rest Api Example Python