mistweaverco / kulala.nvim

A minimal 🤏 HTTP-client 🐼 interface 🖥️ for Neovim ❤️.
https://kulala.mwco.app
MIT License
304 stars 5 forks source link

Unable to call rest API on neovim 0.10 #17

Closed sangramsingha closed 3 weeks ago

sangramsingha commented 3 weeks ago

Hi

While trying to call API mentioned in usage.md got error.

image

Specs: Neovim 0.10 OS : Linux Mint 21.3

image image

gorillamoe commented 3 weeks ago

Strange :thinking: is this reproducable? I feel that the pokeapi is sometimes flaky, but I should catch those errors then..

gorillamoe commented 3 weeks ago

Uhm, just to be safe, you have cURL installed, right?

gorillamoe commented 3 weeks ago

Can you try with this?

GET https://api.predic8.de/shop/v2/products
accept: application/json
gorillamoe commented 3 weeks ago

I pushed a fix, can you try the latest main or v1.2.1?

sangramsingha commented 3 weeks ago

Thanks a lot for such prompt response. It is working now.

image

gorillamoe commented 3 weeks ago

You're welcome, make sure to install jq so the JSON output gets beautifully formatted.