rest-nvim / rest.nvim

A fast Neovim http client written in Lua
GNU General Public License v3.0
1.35k stars 117 forks source link

Can't parse the simply http file #391

Open LintaoAmons opened 4 weeks ago

LintaoAmons commented 4 weeks ago
image
POST http://localhost:3000/auth/login
Content-Type: application/json

{
    "username": "name",
    "password": "password"
}

###
GET http://localhost:3000/account
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEoxNzE3MjI0MjgyfQ.MUwXnaJ8YVVauG_jN3cNDVvpSZdmJMfQSc-zy2bR5S4

I also tried the same file with IDEA, it should be able to trigger the request

image
tg0h commented 2 weeks ago

i have the same problem - see https://github.com/rest-nvim/rest.nvim/issues/389 for a workaround