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

Request headers kept same after changing request type #752

Closed
bilencekic opened this issue Apr 10, 2020 · 2 comments
Closed

Request headers kept same after changing request type #752

bilencekic opened this issue Apr 10, 2020 · 2 comments
Labels
feature New feature or request

Comments

@bilencekic
Copy link

Describe the bug
I have 2 request get and post. GET is using X-CSRF-TOKEN = FETCH parameter to get token from server and POST is using X-CSRF-TOKEN = <TOKEN_VALUE> .
Due to header values kept same, i can't have GET and POST with different parameters, i need to change manually everytime.

To Reproduce
Steps to reproduce the behavior:

  1. Go to URL bar and simply call a GET request with a custom header
  2. Save the request.
  3. change request to POST
  4. See the request header is still same and cannot have different request header between requests.

Expected behavior
Headers should be belong to each saved request and should be cleared for each request type.

@liyasthomas liyasthomas added the feature New feature or request label Apr 10, 2020
@liyasthomas
Copy link
Member

The current state is preserved for easy reference to request configuration. Please manually save the GET and POST request once and click the saved request to restore it.

@bilencekic
Copy link
Author

Sorry i think my bad. After saving parameters, i noticed parameters were kept same but it was a glitch i think. I can save request with different header parameters now (somehow strange).
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants