Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
c16757b0
"vscode:/vscode.git/clone" did not exist on "c55254a5f4461a5c24861afe5cc3ddb65d6c7b9e"
Commit
c16757b0
authored
Jul 02, 2020
by
snv
Browse files
add some debug output and fix data in GET request
parent
5d0dde5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_regru.sh
View file @
c16757b0
...
...
@@ -90,6 +90,7 @@ _get_root() {
case
"
${
domain
}
"
in
*${
ITEM
}*
)
_domain
=
${
ITEM
}
_debug _domain
"
${
_domain
}
"
return
0
;;
esac
...
...
@@ -112,9 +113,9 @@ _regru_rest() {
_debug data
"
$data
"
response
=
"
$(
_post
"
$data
"
"
$REGRU_API_URL
/
$ep
"
""
"
$m
"
)
"
else
response
=
"
$(
_get
"
$REGRU_API_URL
/
$ep
"
)
"
response
=
"
$(
_get
"
$REGRU_API_URL
/
$ep
?
$data
"
)
"
fi
_debug
2
response
"
${
response
}
"
_debug response
"
${
response
}
"
return
0
}
\ No newline at end of file
Write
Preview
Markdown
is supported
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