Skip to content

Conversation

@mpreyskurantov
Copy link
Contributor

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the remote email validation endpoint calls from POST to GET across DataGrid and CardView DataValidation demos for all frameworks (jQuery, Angular, React, Vue). The change refactors URL handling by introducing a baseUrl constant and modifies the HTTP request method along with the data passing mechanism to use query parameters instead of JSON body.

Changes:

  • Changed HTTP method from POST to GET for email validation requests
  • Replaced JSON body serialization with query parameter encoding using URLSearchParams (or equivalent framework methods)
  • Introduced baseUrl constant for better URL management in DataGrid demos

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
apps/demos/Demos/DataGrid/DataValidation/jQuery/index.js Converted POST to GET, added baseUrl constant, removed JSON.stringify and contentType
apps/demos/Demos/DataGrid/DataValidation/Vue/App.vue Converted POST to GET using URLSearchParams, added baseUrl constant
apps/demos/Demos/DataGrid/DataValidation/ReactJs/App.js Converted POST to GET using URLSearchParams, added baseUrl constant
apps/demos/Demos/DataGrid/DataValidation/React/App.tsx Converted POST to GET using URLSearchParams, added baseUrl constant
apps/demos/Demos/DataGrid/DataValidation/Angular/app/app.component.ts Converted POST to GET using HttpClient params option, added baseUrl property
apps/demos/Demos/CardView/DataValidation/jQuery/index.js Converted POST to GET, removed JSON.stringify and contentType
apps/demos/Demos/CardView/DataValidation/Vue/App.vue Converted POST to GET using URLSearchParams
apps/demos/Demos/CardView/DataValidation/ReactJs/App.js Converted POST to GET using URLSearchParams
apps/demos/Demos/CardView/DataValidation/React/App.tsx Converted POST to GET using URLSearchParams
apps/demos/Demos/CardView/DataValidation/Angular/app/app.component.ts Converted POST to GET using HttpClient params option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant