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

Persist "use form data" on request #88

Closed
eliihen opened this issue Jun 10, 2017 · 1 comment
Closed

Persist "use form data" on request #88

eliihen opened this issue Jun 10, 2017 · 1 comment

Comments

@eliihen
Copy link
Member

eliihen commented Jun 10, 2017

This bool is persisted separately today. Thus each request today defaults to showing the form fields section, regardless of whether or not it uses form data.

This change should ensure it is persisted as an enum (e.g. dataType: 'formData') to allow other presets than just form data.

See also #85.

@eliihen eliihen added this to the 2.1.0 milestone Jun 10, 2017
@sabi0
Copy link

sabi0 commented Jun 30, 2017

Please also persist the default state.
I never actually use form data. And I don't use presets either.
So every time I open RESTED I have to disable this checkbox to enter body content. That's quite annoying.

@eliihen eliihen mentioned this issue Jul 20, 2017
5 tasks
eliihen added a commit that referenced this issue Jul 25, 2017
- Adds request body presets
- Sets the default preset to JSON (#103)
- Persists the user's previously selected preset for
  new requests (#88)
- Sets the request body to be expanded by default (#78)
- Fixes the `Content-Type` header not being visible in the
  headers list (#75)
@eliihen eliihen mentioned this issue Jul 26, 2017
@eliihen eliihen closed this as completed Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants