Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
laciferin2024 opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@laciferin2024
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant