Simple Python file it can be useful in every python project for HTTP Requests.
Simple Import http_client.py file in your class.
import http_client as request
url = 'http://rangoli.finalhints.com'
request.get(url+'/category')
request.get(url+'/category',params={'search':'Amit Bhoraniya'})
request.get(url+'/category',params={'search':'Amit Bhoraniya'},header={'content-type':'application/json'})