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

No longer working with cookies. #368

Open
bushblade opened this issue Apr 18, 2024 · 0 comments
Open

No longer working with cookies. #368

bushblade opened this issue Apr 18, 2024 · 0 comments

Comments

@bushblade
Copy link

The plugin no longer works with saving or using a cookie in the request.

This request used to work for me:

# Login a user
POST {{BASE_URL}}/api/users/auth
Content-Type: application/json

-c backend/http/cookies

{
  "email": "john@email.com",
  "password": "123456"
}

But now I get the following response:

POST http://localhost:5000/api/users/auth
HTTP/1.1 400 Bad Request

#+RES

#+END

The same request works in Postman and Insomnia and in Curl:

Screenshot_2024-04-18_12-09-51

And if I remove the -c backend/http/cookies then I do get a good response in rest-nvim but obviously no cookie was saved.

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

No branches or pull requests

1 participant