def embed_with_url_params(testapp, embed_string, status=200):
    """POST to embed endpoint with url parameters."""
    creation_post_data = {}
    creation_post_headers = {
        "Content-type": "application/json",
        "Accept": "application/json",
    }
    response = testapp.post_json(
        embed_string, creation_post_data, headers=creation_post_headers, status=status
    ).json
    if isinstance(response, list):
        response = response[0]
    return response