Пример #1
0
def get(url, params=None, **kwargs):
    return http_response_make(requests.get(url, params, **kwargs))
Пример #2
0
def patch(url, data=None, **kwargs):
    return http_response_make(requests.patch(url, data, **kwargs))
Пример #3
0
def delete(url, **kwargs):
    return http_response_make(requests.delete(url, **kwargs))
Пример #4
0
def post(url, data=None, json=None, **kwargs):
    return http_response_make(requests.post(url, data, json, **kwargs))