@@ -82,6 +82,9 @@ static void Main(string[] args)
82
82
client . DefaultRequestHeaders . Add ( "authorization" , authHeader ) ;
83
83
84
84
response = client . GetStringAsync ( new Uri ( baseUri , resourceLink ) ) . Result ;
85
+
86
+ Console . WriteLine ( response ) ;
87
+ Console . ReadKey ( ) ;
85
88
86
89
//GET a database
87
90
verb = "GET" ;
@@ -95,6 +98,10 @@ static void Main(string[] args)
95
98
client . DefaultRequestHeaders . Add ( "authorization" , authHeader ) ;
96
99
97
100
response = client . GetStringAsync ( new Uri ( baseUri , resourceLink ) ) . Result ;
101
+
102
+ Console . WriteLine ( response ) ;
103
+ Console . ReadKey ( ) ;
104
+
98
105
99
106
//LIST all collections
100
107
verb = "GET" ;
@@ -108,6 +115,9 @@ static void Main(string[] args)
108
115
client . DefaultRequestHeaders . Add ( "authorization" , authHeader ) ;
109
116
110
117
response = client . GetStringAsync ( new Uri ( baseUri , resourceLink ) ) . Result ;
118
+
119
+ Console . WriteLine ( response ) ;
120
+ Console . ReadKey ( ) ;
111
121
112
122
//GET a collections
113
123
verb = "GET" ;
@@ -121,6 +131,9 @@ static void Main(string[] args)
121
131
client . DefaultRequestHeaders . Add ( "authorization" , authHeader ) ;
122
132
123
133
response = client . GetStringAsync ( new Uri ( baseUri , resourceLink ) ) . Result ;
134
+
135
+ Console . WriteLine ( response ) ;
136
+ Console . ReadKey ( ) ;
124
137
125
138
//LIST all documents in a collection
126
139
verb = "GET" ;
@@ -134,6 +147,9 @@ static void Main(string[] args)
134
147
client . DefaultRequestHeaders . Add ( "authorization" , authHeader ) ;
135
148
136
149
response = client . GetStringAsync ( new Uri ( baseUri , resourceLink ) ) . Result ;
150
+
151
+ Console . WriteLine ( response ) ;
152
+ Console . ReadKey ( ) ;
137
153
138
154
//GET a document
139
155
verb = "GET" ;
@@ -147,6 +163,9 @@ static void Main(string[] args)
147
163
client . DefaultRequestHeaders . Add ( "authorization" , authHeader ) ;
148
164
149
165
response = client . GetStringAsync ( new Uri ( baseUri , resourceLink ) ) . Result ;
166
+
167
+ Console . WriteLine ( response ) ;
168
+ Console . ReadKey ( ) ;
150
169
151
170
//EXECUTE a query
152
171
verb = "POST" ;
@@ -186,4 +205,4 @@ private static string GenerateMasterKeyAuthorizationSignature(string verb, strin
186
205
signature ) ) ;
187
206
}
188
207
}
189
- }
208
+ }
0 commit comments