Function get_json_with_headers

  • Same as get_json but sends the specified headers with the request

    Parameters

    • url: string
    • headers: any

    Returns Promise<any>