Skip to content

Commit 1f18bda

Browse files
committed
[MISC] Fix malformed requests preventing charles proxy from working
1 parent d646768 commit 1f18bda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plugins/kibana/server/routes/api/ingest/register_post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export function registerPost(server) {
115115
};
116116

117117
const pipelineParams = {
118-
path: `_ingest/pipeline/${ingestConfigName}`,
118+
path: `/_ingest/pipeline/${ingestConfigName}`,
119119
method: 'PUT',
120120
body: pipeline
121121
};

src/plugins/kibana/server/routes/api/ingest/register_simulate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function registerSimulate(server) {
2121
const body = ingestSimulateApiKibanaToEsConverter(simulateApiDocument);
2222

2323
return boundCallWithRequest('transport.request', {
24-
path: '_ingest/pipeline/_simulate',
24+
path: '/_ingest/pipeline/_simulate',
2525
query: { verbose: true },
2626
method: 'POST',
2727
body: body

0 commit comments

Comments
 (0)