pantsel / kong-middleman-plugin

A Kong plugin that enables you to make an extra HTTP POST request before calling an API.
MIT License
156 stars 63 forks source link

the body_data is null #6

Closed orientzc closed 6 years ago

orientzc commented 6 years ago

hello, i am trying to use the plugin, but i am facing this problem: the body_data is null. details: qq 20180205213957

The Kong version we are using is 0.11.2. and the origin request and response: image

Can someone suggest what could we be missing?

thank you!

Sverik commented 6 years ago

Seems to be a simple issue of not reading the body first. I have fixed it, here's the pull request: https://github.com/pantsel/kong-middleman-plugin/pull/8

pantsel commented 6 years ago

@Sverik , thanks for the contribution man! Cheers.