Skip to content

Commit

Permalink
add: new line at EOF
Browse files Browse the repository at this point in the history
Signed-off-by: Arvindh <arvindh91@gmail.com>
  • Loading branch information
arvindh123 committed Mar 7, 2024
1 parent d90128f commit e8acdad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
build
test/aedes/node_modules
ssl/certs/*
ssl/certs/*
2 changes: 1 addition & 1 deletion examples/client/http/with_mtls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ echo -e "\nPosting message to ${protocol}://${host}:${port}/${path} with tls, Au
curl -sSiX POST "${protocol}://${host}:${port}/${path}" -H "content-type:${content}" -H "Authorization:TOKEN" -d "${message}" --cacert $cafile 2>&1

echo -e "\nPosting message to ${protocol}://${host}:${port}/${path} with tls, Authorization header, & without ca , client certificates.."
curl -sSiX POST "${protocol}://${host}:${port}/${path}" -H "content-type:${content}" -H "Authorization:TOKEN" -d "${message}" 2>&1
curl -sSiX POST "${protocol}://${host}:${port}/${path}" -H "content-type:${content}" -H "Authorization:TOKEN" -d "${message}" 2>&1
2 changes: 1 addition & 1 deletion examples/client/http/without_tls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ curl -sSi -u username:password -X POST "${protocol}://${host}:${port}/${path}"


echo -e "\nPosting message to invalid path ${protocol}://${host}:${port}/${invalidPath} without tls..."
curl -sSiX POST "${protocol}://${host}:${port}/${invalidPath}" -H "content-type:${content}" -H "Authorization:TOKEN" -d "${message}"
curl -sSiX POST "${protocol}://${host}:${port}/${invalidPath}" -H "content-type:${content}" -H "Authorization:TOKEN" -d "${message}"

0 comments on commit e8acdad

Please sign in to comment.