common/utils/http library

Functions

getRequest(Uri url, {Map<String, String> headers = const {}, bool debug = false, ProxyAPIConfig? proxyAPIConfig}) Future<String?>
GET request to fetch data from URL
postRequest(Uri url, {Object? body, Map<String, String> headers = const {}, bool debug = false, ProxyAPIConfig? proxyAPIConfig}) Future<String?>
POST request to fetch data from URL