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
curl -v http://api.aspose.cloud/v1.1/pdf/{documentname}/fields/{fieldName}?appsid=xxxx&signature=xxxx \
     -X PUT \	 
	 -d {"field": [{
  					"Name": "textbox1",   					"Type": "0",   					"Values": [
    							"Text Box"
  							  ],   					"SelectedItems": [
    									0   									],   					"Rect": {
    							"X": 0,     							"Y": 0,     							"Width": 0,     							"Height": 0   							},   					"Links": [
    							{
      								"Href": "string",       								"Rel": "string",       								"Type": "string",       								"Title": "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"
}

...