import json
import requests


def make_request(method, url, params=None, auth=None):
    """
    :param method: HTTP method
    :param url: URL
    :param params: dict of query parameters
    :param auth: 2-tuple of (user, password)
    :returns: HTTP response
    """
    headers = {'content-type': 'application/json'}
    data = json.dumps(params)
    return requests.request(method, url, data=data, auth=auth,
                            headers=headers)