Skip to content

Simple Python file it can be useful in every python project for HTTP Requests.

Notifications You must be signed in to change notification settings

amitbhoraniya/Python-Rest-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Python-Rest-Client

Simple Python file it can be useful in every python project for HTTP Requests.

How to use?

Simple Import http_client.py file in your class.

import http_client as request

Send GET Request Without any params

url = 'http://rangoli.finalhints.com'
request.get(url+'/category')

Send GET Request With Query Parameters

request.get(url+'/category',params={'search':'Amit Bhoraniya'})

Send GET Request With Custom Header

request.get(url+'/category',params={'search':'Amit Bhoraniya'},header={'content-type':'application/json'})

About

Simple Python file it can be useful in every python project for HTTP Requests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages