import requests
import json


def post(url, payload):
  """
  make an http post
  """
  return requests.post(
    url=url,
    headers={'content-type': 'application/json'},
    data=json.dumps(payload),
  )