2020-05-07 08:07:50 +00:00
|
|
|
{
|
|
|
|
|
"curlImage": ".t--curlImage",
|
|
|
|
|
"curlImportBtn": ".t--importBtn",
|
|
|
|
|
"createBlankApiCard": ".t--createBlankApiCard",
|
|
|
|
|
"eachProviderCard": ".t--eachProviderCard",
|
|
|
|
|
"nameOfApi": ".t--nameOfApi",
|
2020-10-31 06:40:51 +00:00
|
|
|
"ApiNameField": ".t--action-name-edit-field",
|
2020-05-07 08:07:50 +00:00
|
|
|
"addToPageBtn": ".t--addToPageBtn",
|
2021-02-11 12:54:00 +00:00
|
|
|
"ApiActionMenu": ".t--more-action-menu",
|
2020-05-07 08:07:50 +00:00
|
|
|
"ApiDeleteBtn": ".t--apiFormDeleteBtn",
|
|
|
|
|
"ApiRunBtn": ".t--apiFormRunBtn",
|
|
|
|
|
"addToPageBtnsId": ".t--addToPageButtons",
|
|
|
|
|
"ApiHomePage": ".t--apiHomePage",
|
|
|
|
|
"formActionButtons": ".t--formActionButtons",
|
2020-05-15 12:20:09 +00:00
|
|
|
"dataSourceField": ".t--dataSourceField",
|
2020-05-20 16:04:37 +00:00
|
|
|
"responseBody": ".CodeMirror-code span.cm-string.cm-property",
|
2021-02-11 12:54:00 +00:00
|
|
|
"ApiVerb": ".t--apiFormHttpMethod",
|
2020-06-10 12:25:16 +00:00
|
|
|
"apiPaginationNextText": ".t--apiFormPaginationNext",
|
|
|
|
|
"apiPaginationPrevText": ".t--apiFormPaginationPrev",
|
|
|
|
|
"apiPaginationPrevTest": ".t--apiFormPaginationPrevTest",
|
|
|
|
|
"apiPaginationNextTest": ".t--apiFormPaginationNextTest",
|
|
|
|
|
"apiPaginationTab": ".t--apiFormPaginationType",
|
2020-08-25 12:22:54 +00:00
|
|
|
"apiTab": ".react-tabs__tab-list li",
|
2021-02-11 12:54:00 +00:00
|
|
|
"bodyType": ".t--apiFormPostBodyType",
|
feat: Support body in GET API requests (#7127)
* WIP
* Refactoring HTTP Method & Content Type to be objects instead of arrays
TODO:
1. Set the default content-type for Get request to "None". Currently, it's raw
2. For None content-type, don't send the body field in the API request
* Almost working implementation for the None type
Currently, the body still gets sent in non-GET requests even if the None tab is selected.
* Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM
* WIP: Using enum & const for ts autocomplete
* working implementation for NONE type, apiContentType prop added to API actions
* WIP
* Refactoring HTTP Method & Content Type to be objects instead of arrays
TODO:
1. Set the default content-type for Get request to "None". Currently, it's raw
2. For None content-type, don't send the body field in the API request
* Almost working implementation for the None type
Currently, the body still gets sent in non-GET requests even if the None tab is selected.
* Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM
* WIP: Using enum & const for ts autocomplete
* working implementation for NONE type, apiContentType prop added to API actions
* adds apiContentType to actionConfiguration.formData object
* Handling apiContentType property in Rest API formData
* change apiContentType when user types content-type value and switches http method
* makes api editor as similar as possible to postman, project postman.
* Correcting the import in ApiEditorConstants
* Resolved all merge conflicts
* replay DSL functtionality
* removes unneccessary files from worker
* Fixes type declarations, naming e.t.c.
* fix server side merge conflicts
* fix client side merge conflicts
* fix failing cypress tests
Co-authored-by: Irongade <adeoluayangade@yahoo.com>
Co-authored-by: Ayangade Adeoluwa <37867493+Irongade@users.noreply.github.com>
2022-02-15 11:13:48 +00:00
|
|
|
"bodyTab": "Body",
|
|
|
|
|
"headersTab": "Header"
|
2020-07-21 14:01:51 +00:00
|
|
|
}
|