Graylog2 / Graylog2/graylog2-server

"JSON path value from HTTP API" Input should allow HTTP method:post with empty body.

Open
#24,017 0 comments 0 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?

Currently the "JSON path value from HTTP API" input disallows having an empty HTTP body when choosing HTTP method `POST`.

I tried to find a reference where an RFC explicitly declared that empty content is allowed for POST but I was unable to find anything concrete. No RFCs disallow this.

Graylog's own API makes use of POST with an empty body

## Why?

If the data source requires POST with an empty body, this input won't be able to consume that data.

## Your Environment

* Graylog Version: 6.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.