Files
responder/t.py
T
2018-10-09 06:45:02 -04:00

10 lines
180 B
Python

import requests
from wsgiadapter import WSGIAdapter
from app import api
s = requests.Session()
s.mount("http://staging/", WSGIAdapter(api))
r = s.get("http://staging/")
print(r)