Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColor#FFFFFF
Expand
titleRequest
Code Block
titleCreate Authentication Header
curl -v "https://api.aspose.cloud/oauth2/token" -X POST -d "grant_type=client_credentials&client_id=0B17F60A-6D69-426B-9ABD-79F35A6E9F7B&client_secret=53b8b19adffa41a3e87dbbd8858977ae" -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json"
Code Block
titleCreate cURL Command
curl -v "http://api.aspose.cloud/v1.1/pdf/{documentname}testing.pdf/pages/{pageNumber}1/sign?appsid=xxxx&signature=xxxx \
     " -X POST \
     -d {"signature": [{
  "SignaturePath": "string",   "SignatureType": "string",   "Password": "string",   "Contact": "string",   "Location": "string",   "Visible": true,   "Rectangle": {
    "X": 0,     "Y": 0,     "Width": 0,     "Height": 0   },   "FormFieldName": "string",   "Authority": "string",   "Date": "string"
}]} \
	 -H "Content-Type: application/json" \
	 -H "Accept: application/json" -H "Authorization:   Bearer yPFyyiN2jamYggVq9p6Tg8EOIC7f5zr2tWmClPWuKJWtfVv2CNpb1qno7GAufwT10ttkHLe7GVlZg4-YjpSfi5gM3xMy5obgaP4HIta8EZ6bwopPbS6i-gPiNHM6CraFmSEKWvDDUwIWopcR0apcRyyxzBR4GhuRDbbagrl0efGhjmkR4VbnX382dXcf0uvyzuTpz7OB3S2ZJsJhOdZ16TOkfrtjFgeTjFm2LBENkVPpQP6nFMBDL2D8_EoUgS2Rn4q65eZQqtcqhbUWtsAwPQiX2le0QxACQ0o0lWYAaCGvFGODcEQyqJUa7fXSIxXNICilGBoA1k-wWQtZyoqipgt8sC1lbN4ctS5wDsFmBE9cMhyn68FO_ZuQzZqfqsN_U9fQt-VVLif2woStjXotyL3kjqDVwbOKNpSAw2c4uh9xX7xL"
Expand
titleResponse
Code Block
{ 
  "Code": 200,
  "Status": "OK"
}

...