• Takes a url, and data in form of URLSearchParams, performs http POST request and converts result to json then returns the json.

    Parameters

    • url: string
    • params: URLSearchParams

    Returns Promise<any>