public static string Test([HttpTrigger] HttpRequest request) { bool inputOk; bool outputOk; try { TestAzureBlob.Run(g_input, "test.txt"); inputOk = true; } catch { inputOk = false; } try { TestAzureBlob.Run(g_output, "test.txt"); outputOk = true; } catch { outputOk = false; } return($"Input={inputOk}, Output={outputOk}"); }
public static string Test([HttpTrigger] HttpRequest request) { bool inputOk; bool outputOk; try { TestAzureBlob.Run(g_fileSystem, "wasb://input/pdf/test.txt"); inputOk = true; } catch { inputOk = false; } try { TestAzureBlob.Run(g_fileSystem, "wasb://output/test/test.txt"); outputOk = true; } catch { outputOk = false; } return($"Input={inputOk}, Output={outputOk}"); }