Skip to content

how to receive ndjson? #998

@Calemy

Description

@Calemy

What are you trying to achieve, or the steps to reproduce?

I'm trying to receive ndjson from meilisearch's new webhook feature which states the following in documentation
"he request body will be one or more task objects in ndjson format"
everything i do is currently not working and resulting in me getting a 415. i've been searching for parsers but had no luck.

Context

  • node version: 18.18
  • fastify version: >= 4.26.1
  • os: Linux Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions