Skip to content

Newbie - please help with Tutorial 1 - Cannot get POST to work... #3157

Answered by wolfgangwalther
tseyfarth asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, it's really hard to read the code snippets, commands and log outputs that you posted, because you were using single back-ticks only, which doesn't work well with multi-line strings. I changed all of those in the comments in this discussion to use triple back-ticks. Now I can actually read something.

The curl commands you are taking from the docs are written for linux. That means they have some specific syntax:

  • Note the \ at the end of each line in the curl command. Those are "line continuation" markers and allow to split a single command into multiple lines. In your case it seems like you are putting the whole command in a single line - so you must remove the \. A bit of go…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@tseyfarth
Comment options

Comment options

You must be logged in to vote
1 reply
@wolfgangwalther
Comment options

Comment options

You must be logged in to vote
1 reply
@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants