Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added url encoded format for sending the data in request #554

Closed
wants to merge 1 commit into from

Conversation

abhinavs1920
Copy link

PR Description

This PR implements a toggle switch feature in the form-data section of the API Dash application. The toggle allows users to switch between application/x-www-form-urlencoded and multipart/form-data content types. The feature automatically selects the appropriate content type based on whether files are included in the form data, enhancing user experience and ensuring correct data submission.

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

  • Yes
  • No, and this is why: I am currently waiting for my approach to get completely verified.

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@ashitaprasad
Copy link
Member

The current design and implementation are both incorrect. Please discuss your approach on the issue first along with the design, then you should send the PR after it is finalized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants