getWorkingProxyLink static method

Future<Response> getWorkingProxyLink(
  1. dynamic proxyUrl,
  2. dynamic httpClient
)

Implementation

static Future<Response> getWorkingProxyLink(proxyUrl, httpClient) async {
  return await http.post(
    Uri.parse('https://proxy.inspireui.com/api/v1/proxy'),
    body: {
      'url': proxyUrl,
      'httpClient': httpClient,
      'token':
          'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmb28iOiJiYXIiLCJpYXQiOjE2NjE3Njg5Mjd9.cIXKYIP0BQuf-SdNQpBca0s4yPDq6-DrPVwMStYJE1c',
    },
  );
}