def METHOD_NAME(
    self, method, http_server, http_client
):
    """Test making HTTP requests from client to server objects."""
    _URL = "/random/text"
    _CONTENT_TYPE_KEY = "Content-Type"
    _CONTENT_TYPE = "application/json"
    method_request = getattr(http_client, method)
    json_content = {"this": ["is", "a", "json", "object"]}
    method_request(
        api=_URL,
        json=json_content,
        headers={_CONTENT_TYPE_KEY: _CONTENT_TYPE},
    )
    r = http_server.receive(timeout=30)
    assert _CONTENT_TYPE == r.headers[_CONTENT_TYPE_KEY]
    assert json_content == r.json
    assert _URL == r.path_url