krakend-request-body-modifier

command module
v0.0.0-...-3ffe223 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

requestBody.Modifier for Krakend

This plugin allows you to modify the request body before sending it to the backend.

Usage

If you have krakend installed, you can use the following command to create the plugin:

$ go build -buildmode=plugin -o krakend-request-body-modifier.so github.com/shipink/krakend-request-body-modifier

When after the plugin is created, you can use it in your config:

"extra_config": {
    "plugin/req-resp-modifier": {
    "name": [
        "requestBody.Modifier"
    ],
    "requestBody.Modifier": {
        "keys": ["name","language"],
        "values": ["Shipink","Golang"]
        }
    }
}

You can find example in the krakend.json file also.

NOTE: Plugin and krakend should be build with the same environment.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址