Skip to content

Commit

Permalink
unwanted code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
spellsuvam committed Jun 30, 2022
1 parent 4e85464 commit bfbd293
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions lib/homepage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,6 @@ class _HomePageState extends State<HomePage> {
}
print("total images:-");
print(formData.files.length);
// print(clinic1.toJson().toString());
// try {
// var response = await dio.post("https://imgbb.com/json",
// data: formData,
// options: Options(headers: {
// HttpHeaders.authorizationHeader:
// "Bearer 30c0fb23154808f01e8340de829b3d61f3bae2d9",
// HttpHeaders.contentTypeHeader: "multipart/form-data",
// HttpHeaders.acceptHeader: "application/json",
// HttpHeaders.cookieHeader:
// "PHPSESSID=aqqqtltar5vmt3ps0pmcj7v8mu; ai_user=aZLyPvPh+FhpHsDy/a2Eba|2022-06-09T17:50:06.166Z; __gads=ID=44c16da80224aa28-22860a8cfed300cc:T=1654797002:RT=1654797002:S=ALNI_Mau_hTsfnifUoCrn5nKzZELnuVhDQ; __gpi=UID=00000680b827974e:T=1654797002:RT=1654797002:S=ALNI_MZda-euXPt98SqneX3G8GWELWOmYA"
// }));
// if (response.statusCode == 200) {
// log(response.data.toString());
// print("success");
// }
// } on DioError catch (e) {
// log(e.response!.data.toString());

// print("failure");
// }
}

@override
Expand Down

0 comments on commit bfbd293

Please sign in to comment.