GET and POST functioning
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
|
||||
|
||||
namespace PostmanCloneLibrary
|
||||
{
|
||||
public interface IApiAccess
|
||||
{
|
||||
Task<string> CallApiAsync(string url, bool formaOutput, HttpAction action);
|
||||
Task<string> CallApiAsync(string url, string content, HttpAction action = HttpAction.GET, bool formaOutput = true);
|
||||
Task<string> CallApiAsync(string url, HttpContent? content = null, HttpAction action = HttpAction.GET, bool formaOutput = true);
|
||||
bool IsValidUrl(string url);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user