Skip to content

Commit

Permalink
improved anonymous calls #3137
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-dmlr committed May 22, 2024
1 parent e6fe5a2 commit 4c6127c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sechub-developertools/scripts/sechub-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ function sechub_user_list_open_signups {


function sechub_user_reset_apitoken {
curl_with_sechub_auth -i -X POST -H 'Content-Type: application/json' "$SECHUB_SERVER/api/anonymous/refresh/apitoken/$1" | $CURL_FILTER
curl $CURL_PARAMS -i -X POST -H 'Content-Type: application/json' "$SECHUB_SERVER/api/anonymous/refresh/apitoken/$1" | $CURL_FILTER
}


Expand All @@ -819,7 +819,7 @@ EOF
}

function sechub_user_signup {
curl_with_sechub_auth -i -X POST -H 'Content-Type: application/json' \
curl $CURL_PARAMS -i -X POST -H 'Content-Type: application/json' \
-d "$(generate_sechub_user_signup_data $1 $2)" \
"$SECHUB_SERVER/api/anonymous/signup" | $CURL_FILTER
}
Expand Down

0 comments on commit 4c6127c

Please sign in to comment.