curl -D responseHeader -H "Content-Type: application/json" –H "Accept: application/json -H "x-zerto-session: 9UDQD6RG7YF33QJLWQXGJV8C453N277NA22P7FSNWVZCJTWCBRHQ" https://127.0.0.1:9669/v1/localsite |
/* * Example - get local site information */ private void GetLocalSite() { Console.WriteLine("\nRequest information about the local site:"); Console.WriteLine("=========================================="); string apiAddress = m_baseAddress + "localsite"; string result = ExecuteHttpGet(apiAddress, m_format, m_sessionId); Console.WriteLine(result); } |