11 lines
380 B
C#
11 lines
380 B
C#
|
|
|
|
namespace PostmanCloneLibrary
|
|
{
|
|
public interface IApiAccess
|
|
{
|
|
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);
|
|
}
|
|
} |