Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csbase-dev
sgarest-daemon
Commits
76f94249
Commit
76f94249
authored
Nov 11, 2019
by
Isabella Almeida da Silva
Browse files
[SOMA-2553][SOMA-2624]
- Adicionar print do token no comando de testes para facilitar
parent
148f386d
Changes
1
Hide whitespace changes
Inline
Side-by-side
request.sh
View file @
76f94249
...
...
@@ -7,7 +7,7 @@ case "$1" in
job
)
curl
-v
-H
"Content-Type: application/json"
-H
'Authorization: USER_TOKEN'
-X
POST
-d
'{
"cmd_string": "echo
hello
&& sleep 10 && echo bye > /tmp/job_123.out ",
"cmd_string": "echo
user token: $CSBASE_USER_TOKEN
&& sleep 10 && echo bye > /tmp/job_123.out ",
"cmd_id": "job_123",
"parameters": {
"csbase_command_path": "/tmp",
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment