Get Authentication Token
curl -v "https://api.aspose.cloud/connect/token" \
-X POST \
-d "grant_type=client_credentials&client_id=xxxx&client_secret=xxxx" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json"
curl -X GET "https://api.aspose.cloud/v3.0/pdf/4pages.pdf/fields/checkbox/testField" \
-H "accept: application/json" \
-H "authorization: Bearer <jwt token>"
{
"Field": {
"AllowedStates": [
"Off",
"true"
],
"Style": "Cross",
"ActiveState": "true",
"Checked": true,
"ExportValue": "true",
"PartialName": "testField",
"Rect": {
"LLX": 100,
"LLY": 100,
"URX": 200,
"URY": 200
},
"Value": "Yes",
"PageIndex": 1,
"Height": 100,
"Width": 100,
"ZIndex": 0,
"IsGroup": false,
"Parent": null,
"IsSharedField": false,
"Flags": [
"Print"
],
"Color": {
"A": 255,
"R": 255,
"G": 0,
"B": 0
},
"Contents": "",
"Margin": {
"Left": 0,
"Right": 0,
"Top": 0,
"Bottom": 0
},
"Highlighting": "Invert",
"HorizontalAlignment": "Left",
"VerticalAlignment": "Top",
"Links": [
{
"Href": "/4pages.pdf/fields/checkbox/testField",
"Rel": "self",
"Type": null,
"Title": null
}
]
},
"Code": 200,
"Status": "OK"
}