File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ echo "EnvelopeId: ${ENVELOPE_ID}"
9999# For this example, we'll use http://httpbin.org/get to show the
100100# query parameters passed back from DocuSign
101101
102- echo " Request the url for the signing ceremony..."
102+ echo " "
103+ echo " Requesting the url for the signing ceremony..."
103104curl --header " Authorization: Bearer {ACCESS_TOKEN}" \
104105 --header " Content-Type: application/json" \
105106 --data-binary '
@@ -118,15 +119,15 @@ echo "Response:"
118119cat $response
119120echo " "
120121
121- REDIRECT_URL =` cat $response | grep url | sed ' s/.*\"url\": \"//' | sed ' s/\"//' | tr -d ' \r' `
122+ SIGNING_CEREMONY_URL =` cat $response | grep url | sed ' s/.*\"url\": \"//' | sed ' s/\"//' | tr -d ' \r' `
122123echo " "
123124echo " Attempting to automatically open your browser to the signing ceremony url..."
124125if which open > /dev/null 2> /dev/null
125126then
126- open " $REDIRECT_URL "
127+ open " $SIGNING_CEREMONY_URL "
127128elif which start > /dev/null
128129then
129- start " $REDIRECT_URL "
130+ start " $SIGNING_CEREMONY_URL "
130131fi
131132
132133# cleanup
You can’t perform that action at this time.
0 commit comments