mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-24 12:38:30 +00:00
15 lines
365 B
C#
15 lines
365 B
C#
using NftFaucet.ApiClients.Models;
|
|
using RestEase;
|
|
|
|
namespace NftFaucet.ApiClients;
|
|
|
|
[BaseAddress("https://gw.crustapps.net")]
|
|
public interface ICrustUploadApiClient
|
|
{
|
|
[Header("Authorization")]
|
|
public string Auth { get; set; }
|
|
|
|
[Post("api/v0/add")]
|
|
Task<UploadResponse> UploadFile([Body] MultipartContent content, [Query("pin")] bool pin = true);
|
|
}
|