import requests


def post_request(url, json_payload, **kwargs):
    """
    # Create a `post_request` to make HTTP POST requests
    # e.g., response = requests.post(url, params=kwargs, json=payload)
    """
    results = []

    print("in post_request")
    print("url:", url)
    print("json_payload:", json_payload)
    print("kwargs:", kwargs)
    try:
        response = requests.post(url, params=kwargs, json=json_payload)
        print("back from requests.post with:", response)
        results = response
    except Exception as e:
        print("In post_request, Exception occurred " + str(e))

    return results