Project

General

Profile

Actions

Activity #1945

closed

Feature #138: Development and Unit Testing

Version #1900: Version 1.11

Send API data in body

Added by Thara S Pillai over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development-App
Start date:
12/26/2023
Due date:
12/26/2023
% Done:

100%

Estimated time:
Planned Due Date:

Description

Modify all API calls to send data through body instead of queryParameters

Uri uri = Uri.parse(url).replace(queryParameters: {'data': data});
http.Response response = await http.post(uri, headers: headers).timeout(
Duration(
minutes: Constant
.APICALLTIMEOUTLMTDOWNLOAD), // Set the timeout duration to 5 minutes
onTimeout: () {
throw TimeoutException(AppStrings.timeoutError.tr());
},
);

Actions #1

Updated by Aswathy M G over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #2

Updated by Thara S Pillai over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF