Skip to content

streams api bug: duplex option is required when sending a body #230

@laciferin2024

Description

@laciferin2024

Reproducer

npx ceramic daemon
 curl http://localhost:7007/api/v0/streams -X POST -d '{
    "type": 0,
    "genesis": {
      "header": {
        "family": "test",
        "controllers": ["did:key:z6MkfZ6S4NVVTEuts8o5xFzRMR8eC6Y1bngoBQNnXiCvhH8H"]
      }
    }
  }' -H "Content-Type: application/json"

Error

RequestInit: duplex option is required when sending a body;

X-Powered-By: Express
Vary: Origin
Content-Type: application/json; charset=utf-8
Content-Length: 71
ETag: W/"47-ZWHjz12YtazUitsKQ1mQlo1Fm6E"
Date: Wed, 06 Nov 2024 19:38:41 GMT
Connection: keep-alive
Keep-Alive: timeout=60

{
  "error": "RequestInit: duplex option is required when sending a body."
}

Technical Information

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