Skip to content

Correct HTTP Server source settings for newline delimted JSON? #22005

Answered by jszwedko
NeilJed asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @NeilJed !

I think the issue is that you need to use --data-binary with curl. Otherwise it removes the newlines from the input and just sends:

{"id":"00227a8ec90a4dc0820100000000009d","remoteIP":"113.212.87.42}{"id":"00227a8ec90a4dc0820100000000009e","remoteIP":"113.212.87.42"}{"id":"015332cbaf5545d8917a000000000001","remoteIP":"201.123.133.189"}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NeilJed
Comment options

Answer selected by NeilJed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants