You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this request, I can get the response header and status code information when using JavaScript.
However, when using http to send the request and parse the response, an exception is thrown, and I cannot get any information including the status code and response header except an error message.
Reproducible example:
voidmain() async {
final client =HttpClient();
final request =await client.postUrl(
Uri.parse('http://memos.w-wbr.space/api/v1/auth/status'),
);
final response =await request.close();
print(response);
}
The text was updated successfully, but these errors were encountered:
Question:
For this request, I can get the response header and status code information when using JavaScript.
However, when using http to send the request and parse the response, an exception is thrown, and I cannot get any information including the status code and response header except an error message.
Reproducible example:
The text was updated successfully, but these errors were encountered: