This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event":{ | |
"event_type":"signature_request_invalid", | |
"event_time":"1512619951", | |
"event_hash":"3f4aa4a2cd374fe47a758cff1fd9ff6578fa5ad8e273a174d8d034cb094a85c4", | |
"event_metadata":{ | |
"related_signature_id":null, | |
"reported_for_account_id":"bc1225d28a648231a589100c07c9f17c82d80411", | |
"reported_for_app_id":null | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event":{ | |
"event_type":"file_error", | |
"event_time":"1512604001", | |
"event_hash":"3ab427feca126d46e77836507fbb4a3811c710a1271333339f2e02b2adcfcd91", | |
"event_metadata":{ | |
"related_signature_id":null, | |
"reported_for_account_id":"bc1555e28a648231a589117cb739f17c82d80411", | |
"reported_for_app_id":null | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event":{ | |
"event_type":"signature_request_invalid", | |
"event_time":"1512578011", | |
"event_hash":"94e51fcedf91449d720e5a44d9aeeeee1d51158daa9d7276cfb274c16377bf59", | |
"event_metadata":{ | |
"related_signature_id":null, | |
"reported_for_account_id":"bc1225d28a6aabc1a589117cb739f17c82d80411", | |
"reported_for_app_id":"d7219512693825facee9241f458decf2" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /callback.php HTTP/1.1 | |
Host: hstests.ngrok.io | |
Accept: */* | |
User-Agent: HelloSign API | |
Content-MD5: MmEyYTc3MTlhMjVlZjY3ODNjYzk5MThhNDM5OWQ3MGE= | |
Expect: 100-continue | |
Content-Type: multipart/form-data; boundary=----------------------------278a0352fbd2 | |
Content-Length: 2465 | |
X-Forwarded-Proto: https | |
X-Forwarded-For: 52.200.252.64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /callback.php HTTP/1.1 | |
Host: hstests.ngrok.io | |
Accept: */* | |
User-Agent: HelloSign API | |
Content-MD5: NTgwMWU1NzFiNTc2NWFlMzE4ODYyNTkwZDUyNzlmZjY= | |
Expect: 100-continue | |
Content-Type: multipart/form-data; boundary=----------------------------026b03bdcde8 | |
Content-Length: 1630 | |
X-Forwarded-Proto: https | |
X-Forwarded-For: 52.200.252.64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /callback.php?type=outbound HTTP/1.1 | |
Host: hstests.ngrok.io | |
Accept: */* | |
Expect: 100-continue | |
Content-Type: multipart/form-data; boundary=----------------------------e2bdba1d3cf0 | |
Content-Length: 520 | |
X-Forwarded-For: 52.200.252.64 | |
------------------------------e2bdba1d3cf0 | |
Content-Disposition: form-data; name="json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /callback.php HTTP/1.1 | |
Host: hstests.ngrok.io | |
Accept: */* | |
User-Agent: HelloSign API | |
Content-MD5: ODkzODc1YzQ4MzliNzMyNGQxMGQyMDIyNGEwNjExNjY= | |
Expect: 100-continue | |
Content-Type: multipart/form-data; boundary=----------------------------cdbbc9813ec9 | |
Content-Length: 2272 | |
X-Forwarded-Proto: https | |
X-Forwarded-For: 52.200.252.64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /callback.php HTTP/1.1 | |
Host: hstests.ngrok.io //your domain here | |
Accept: */* | |
User-Agent: HelloSign API | |
Content-MD5: md5HashHere= | |
Expect: 100-continue | |
Content-Type: multipart/form-data; boundary=----------------------------58e538693ad6 | |
Content-Length: 1813 | |
X-Forwarded-Proto: https | |
X-Forwarded-For: 52.200.252.64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'vendor/autoload.php'; | |
include('auth.php'); | |
if (isset($_SESSION['signature_id'])) { | |
try { | |
$client = new HelloSign\Client($api_key); | |
$embedded_response = $client->getEmbeddedSignUrl($_SESSION['signature_id']); | |
$sign_url = $embedded_response->getSignUrl(); | |
include('signerpage.php'); | |
} catch (Exception $e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /callback.php HTTP/1.1 | |
Host: host.ngrok.io | |
Accept: */* | |
User-Agent: HelloSign API | |
Content-MD5: OTA1OGI4YTc1ZWQ2MjY4OWY2ZTlhZDIxNzU3NjEzZTA= | |
Expect: 100-continue | |
Content-Type: multipart/form-data; boundary=----------------------------e8ca2ab77974 | |
Content-Length: 449 | |
X-Forwarded-For: 52.200.252.64 |