An extension that makes Get and Post to Web API easily and fast.
EasyWebApi.addFile("<your-path-file", "your-files-key", "your-file-name.extensions-value");
string responseString = EasyWebApi.postFile("<your-url-api");
EasyWebApi.addFile("<your-path-file", "your-files-key", "your-file-name.extensions-value");
EasyWebApi.addHeader("value", "key"); //You can add multiple Headers
string responseString = EasyWebApi.postFile("<your-url-api", true);
EasyWebApi.addHeader("value", "key"); //You can add multiple Headers
string responseString = EasyWebApi.postHeader("<your-url-api");
string responseString = EasyWebApi.getContent("<your-url-api");
int StatusCode = EasyWebApi.getStatusCode;
The source code is licensed under the MIT license.