File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -113,14 +113,8 @@ _openprovider_rest() {
113113 export _H1=" Content-Type: application/json"
114114 export _H2=" Accept: application/json"
115115 export _H3=" Authorization: Bearer $openproviderauthtoken "
116-
117- _debug httpmethod " $httpmethod "
118- _debug requestfullurl " $OPENPROVIDER_API_URL /$queryparameters "
119- _debug queryparameters " $queryparameters "
120-
116+
121117 if [ " $httpmethod " != " GET" ]; then
122- _debug requestbody " $requestbody "
123-
124118 response=" $( _post " $requestbody " " $OPENPROVIDER_API_URL /$queryparameters " " " " $httpmethod " ) "
125119 else
126120 response=" $( _get " $OPENPROVIDER_API_URL /$queryparameters " ) "
@@ -145,7 +139,6 @@ _openprovider_rest_login() {
145139 loginresponse=" $( _post " $loginrequestbody " " $loginrequesturl " " " " POST" ) "
146140
147141 openproviderauthtoken=" $( printf " %s\n" " $loginresponse " | _egrep_o ' "token" *: *"[^"]*' | _head_n 1 | sed ' s#^"token" *: *"##' ) "
148- _debug openproviderauthtoken " $openproviderauthtoken "
149142
150143 export openproviderauthtoken
151144}
You can’t perform that action at this time.
0 commit comments