Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions