python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to pass an object (csv file) to HttpClient.PostAsync as a JSON body?
I am doing the test automation of a post request that takes a csv file (form data in postman) and returns a list.
I want to add a csv file as an object in the body of the postasync request in my code....
Wiss
Votes: 0
Answers: 0
C# different return types based on try-catch
I'm calling API in one of my Service classes as below:
public GetCustomerApiResponse SearchCustomerByEmail(string email)
{
GetCustomerApiResponse customerApiResponse = null;
...
Unknown Coder
Votes: 0
Answers: 4