Closed markgravity closed 3 years ago
https://github.com/markgravity/flutter-survey/issues/15
We need a service to handle the response from API call
flutter: *** Request *** flutter: uri: https://nimble-survey-web-staging.herokuapp.com/api/v1/passwords flutter: method: POST flutter: responseType: ResponseType.json flutter: followRedirects: true flutter: connectTimeout: 0 flutter: sendTimeout: 0 flutter: receiveTimeout: 0 flutter: receiveDataWhenStatusError: true flutter: extra: {} flutter: headers: flutter: content-type: application/json; charset=utf-8 flutter: data: flutter: {user: {email: dev}, client_id: z9iUamZLvRgtVVtRJ8UqItg2vmncGyEi30p1eWEddnA, client_secret: 1vqRNMxq-Yx83A61GNjLb17qxCGKxHDb8EmB3MKdxqA} flutter: flutter: *** Response *** flutter: uri: https://nimble-survey-web-staging.herokuapp.com/api/v1/passwords flutter: statusCode: 200 flutter: headers: flutter: connection: keep-alive flutter: cache-control: max-age=0, private, must-revalidate flutter: transfer-encoding: chunked flutter: date: Wed, 05 May 2021 16:41:54 GMT flutter: vary: Accept-Encoding, Origin flutter: content-encoding: gzip flutter: strict-transport-security: max-age=31536000; includeSubDomains flutter: referrer-policy: strict-origin-when-cross-origin flutter: x-permitted-cross-domain-policies: none flutter: content-type: application/json; charset=utf-8 flutter: x-xss-protection: 1; mode=block flutter: server: Cowboy flutter: x-request-id: 194e982b-32c2-4954-9ba5-0fc898647a1c flutter: x-download-options: noopen flutter: x-runtime: 0.059444 flutter: etag: W/"b56b6c7984837b9a0f28d86c950f1bac" flutter: via: 1.1 vegur flutter: x-frame-options: SAMEORIGIN flutter: x-content-type-options: nosniff flutter: Response Text: flutter: {"meta":{"message":"If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."}}
the PR need rebasing đ
Thanks. I rebased it đ
https://github.com/markgravity/flutter-survey/issues/15
What happened
We need a service to handle the response from API call
Proof Of Work