jdx / jdx/mean-sample

CURL command does not work on bash

Open
#6 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
165
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Your example curl command from chapter 4 does not work with bash. I finally figured out that the exclamation point was confusing the shell.

$ curl -v -H "Content-Type: application/json" -XPOST --data "{\"username\":\"dickeyxxx\", \"body\":\"node rules!\"}" localhost:3000/api/posts
-bash: !\"}": event not found

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.