Skip to content

remove html tag

William Chia requested to merge patch-49 into master

This updates the doc with an appropriate curl command.

The docs currently warp the URL in an HTML tag:

 curl \
 --header "Content-Type: application/json" \
 --request POST \
 --data '{"GitLab":"FaaS"}' \
 <http://functions-echo.functions-1.functions.example.com/>

Running this returns an error

-bash: syntax error near unexpected token newline'`

Removing the html around the URL is the correct syntax for curl.

 curl \
 --header "Content-Type: application/json" \
 --request POST \
 --data '{"GitLab":"FaaS"}' \
 http://functions-echo.functions-1.functions.example.com/

Merge request reports