Fix sample to use Requests instead of httplib