Skip to content

Doesn't work on Windows 10 #1033

@seanknox

Description

@seanknox
  • OS/Shell: Windows 10 with zsh on WSL. Also tried in Powershell
  • Installed globally via npm install -g json-server
  • Generated db.json with json-server --watch db.json
  • Connect to http://localhost:3000/posts

Expected

  • See post resources return as JSON in the browser

Actual

HTTP 400 error:
image

Followed the same steps above on MacOS and it worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions