Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors out when applying config #67

Open
harryparmar opened this issue May 10, 2017 · 0 comments
Open

Errors out when applying config #67

harryparmar opened this issue May 10, 2017 · 0 comments
Labels

Comments

@harryparmar
Copy link

POST 400 http://192.168.X.X:8001/apis/4f26e35a-d135-44e9-94e8-825124b4c3d3/pl
{ enabled: true,
config:
{ remove: { querystring: {}, body: {}, headers: {} },
rename: { querystring: {}, body: {}, headers: {} },
add: { querystring: [Object], body: {}, headers: [Object] },
replace: { querystring: {}, body: {}, headers: {} },
append: { querystring: {}, body: {}, headers: {} } },
name: 'request-transformer' }
Error: Bad Request
{"config.add.querystring":"key 'contenttype=json' has no value"}

Error: Bad Request
{"config.add.querystring":"key 'contenttype=json' has no value"}

at /usr/lib/node_modules/kongfig/lib/core.js:158:43
at run (/usr/lib/node_modules/kongfig/node_modules/babel-polyfill/node_modul
at /usr/lib/node_modules/kongfig/node_modules/babel-polyfill/node_modules/co
at flush (/usr/lib/node_modules/kongfig/node_modules/babel-polyfill/node_mod
at process._tickCallback (node.js:448:13)

I think this is because Request transformer in new 0.10.x version uses = instead of *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants