Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Rofliex/Leaf.xNet

 
 

Repository files navigation

Fork Features

In this fork have support to use CloudFlare bypass with POST requests.

CloudFlare bypass with POST requests

For Get request:

using Leaf.xNet.Services.Cloudflare;

var httpRequest = new HttpRequest();
var clearResp = httpRequest.GetThroughCloudflare("https://...");

For POST request:

string postData = $"UserId={Login}&SessionInfo={token}&Password={Password}&.........";
var response = httpRequest.GetThroughCloudflare("https://...", HttpMethod.POST, postData);

If need bypass CloudFlare with POST request without "postData", in the parameters need send null or empty string.

About

HTTP Library. Impoved original xNet.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%