mirror of
https://github.com/foss42/apidash.git
synced 2025-05-22 16:57:07 +08:00
int status code
This commit is contained in:
@ -73,7 +73,7 @@ using (var request = new HttpRequestMessage(HttpMethod.{{ method | capitalize }}
|
||||
final kStringEnd = '''
|
||||
HttpResponseMessage response = await client.SendAsync(request);
|
||||
|
||||
Console.WriteLine(response.StatusCode);
|
||||
Console.WriteLine((int)response.StatusCode);
|
||||
Console.WriteLine(await response.Content.ReadAsStringAsync());
|
||||
}
|
||||
''';
|
||||
|
Reference in New Issue
Block a user