github mistweaverco/kulala.nvim v2.1.0

latest releases: v5.3.3, v5.3.2, v5.3.1...
14 months ago

What's Changed

Exciting New Features ✨

  • Feature: Add metatags and add ability to process responses externally by @gorillamoe in #50

You can now post-process the response body with any external command you like:

This comes in handy when getting a token from an auth endpoint and then re-using that in the next requests.

Simple example:

POST https://httpbin.org/post HTTP/1.1
content-type: application/json
accept: application/json
# @env-stdin-cmd AUTH_TOKEN jq -rcj .json.token
# @env-stdin-cmd AUTH_USERNAME jq -rcj .json.username

{
  "username": "gorillamoe",
  "password": "bananas",
  "token": "foobar"
}

###

POST https://httpbin.org/post HTTP/1.1
content-type: application/json
accept: application/json
authorization: Bearer {{AUTH_TOKEN}}

{
  "success": true,
  "username": "{{AUTH_USERNAME}}"
}

Full Changelog: v2.0.1...v2.1.0

Don't miss a new kulala.nvim release

NewReleases is sending notifications on new releases.