I am trying to create API calls to read file from azure data lake store. However I am unable to show proper response and error for specific file found and not found respectively.
I am able to connect with azure data lake and fetch data as well, used try-catch properly. Please help me with proper response body and response codes for c# APIs.
try
        {
            string aa = GetItemInfo("/myfolder/subfolder/testfile.txt");
            return new string[]
            {
            "Hello",
            aa,
            "World"
        };
            }
catch {
            return new string[]
         {
            "Hello",
            "World"
     };
My code is working. As I am new with API calls on C# I am unable to figure out to correct method to do so.
 
     
    