I want to send the following two requests to a test environment via Refit.
The bottom card generation request works through refit, but the top request does not. I'm getting the below error and no matter what I did I couldn't get past it.
//The CreateLinkSaveCardRequest request I created works via postman but doesnt working with refit
[RemoteCallPost("/CreateCardSaveLink")]
Task<CreateLinkSaveCardResponse> CreateLinkForSaveCard
(
[RemoteCallBody] CreateLinkSaveCardRequest request,
[RemoteCallHeader("Authorization")] string auth = "dashdasdsadsadsa
sadasdsadasd",
[RemoteCallHeader("MerchantCode")] string code = "testtesttest"
);
//this basic authenticate
[RemoteCallPost("/TransactionApi/xxxxxx")]
Task<bool> CerateVirtualCardWith([RemoteCallBody] CreateCardRequest request);
Sending a post request and getting a reply with Refit