requests-middleware-ali-hmac 0.1.3

Creator: railscoderz

Last updated:

0 purchases

requests-middleware-ali-hmac 0.1.3 Image
requests-middleware-ali-hmac 0.1.3 Images

Languages

Categories

Add to Cart

Description:

requestsmiddlewarealihmac 0.1.3

requests_middleware_ali_hmac
requests_middleware_ali_hmac demo
import requests
from requests_middleware import MiddlewareHTTPAdapter
from requests_middleware_ali_hmac import AliHmacGenerate
session = requests.Session()
middlewares = [
AliHmacGenerate("testid", "testsecret"),
]
adapter = MiddlewareHTTPAdapter(middlewares)
session.mount('http://', adapter)
session.mount('https://', adapter)

allow requests methods "GET", "POST", "PUT", "DELETE", "PATCH"

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.