def METHOD_NAME(pet_id: int, *, data: Dict[str, Any], **kwargs: Any) -> HttpRequest:
    _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
    content_type = kwargs.pop("content_type", _headers.pop("Content-Type", "application/x-www-form-urlencoded"))
    # Construct URL
    _url = "/formsdataurlencoded/pet/add/{petId}"
    path_format_arguments = {
        "petId": pet_id,
    }
    _url = _url.format(**path_format_arguments)
    if content_type is not None:
        _headers["Content-Type"] = content_type
    return HttpRequest(
        method="POST", url=cast(str, _url), headers=_headers, data=data, params=kwargs.pop("params", {})
    )