How to find the parameters sent to application endpoint
Original Publishing Date:
2020-01-22
Symptoms
I need to find the parameters that are sent to application endpoint, is there an easy way to do it?
Resolution
Note: APS Development Mode should be enabled in POA
Tail poa.debug.log when executing needed action
-
Find POST / PUT request to endpoint for your application, it should look like this:
Dec 23 12:43:55 mn : DBG [SYSTEM 1:1777:af95cb70 SAAS]: [txn:280405 APSC] curl -D- -X POST -H 'APS-Controller-URI: https://10.28.7.128:6308/' -H 'APS-Identity-ID: 9d5e6af0-0d10-4897-8532-310439e3e7bf' -H 'APS-Instance-ID: 88f7987b-8155-4ec5-ae2c-c98475272705' -H 'APS-Transaction-ID: fb4ca8c3-943d-4aa1-ab32-278ea0b80163' -H 'Accept: text/html' -H 'Host: endpoint.sandbox.apsdemo.org' -d @/tmp/99b01199-baa5-497b-a9ca-83d5332b4085.20131223T124355.716090 http://sandbox.apsdemo.orgu/OwnCloud-ldap/users
-
Check this file in /tmp folder:
[root@mn ~]# cat /tmp/99b01199-baa5-497b-a9ca-83d5332b4085.20131223T124355.716090
{
"aps":
{
"type": "http://owncloud.org/users/1.0",
"id": "99b01199-baa5-497b-a9ca-83d5332b4085",
"status": "aps:provisioning",
"revision": 2,
"modified": "2013-12-23T08:43:54Z",
"package":
{
"id": "8e21ffe5-2a1a-48a2-aa06-3e13fa51cefd",
"href": "/aps/2/packages/8e21ffe5-2a1a-48a2-aa06-3e13fa51cefd"
}
},
"quota": 10,
"userstatus": "Ready",
"samples":
{
"aps":
{
"link": "strong",
"href": "/aps/2/resources/7f040d0d-8521-4718-83e9-015ad70066c7",
"id": "7f040d0d-8521-4718-83e9-015ad70066c7"
}
},
"tenant":
{
"aps":
{
"link": "strong",
"href": "/aps/2/resources/1386cc53-8a5d-45ec-9cfc-4de6b23dfc82",
"id": "1386cc53-8a5d-45ec-9cfc-4de6b23dfc82"
}
},
"user":
{
"aps":
{
"link": "strong",
"href": "/aps/2/resources/2e3e6066-8984-4021-aae6-9fc438e2f30b",
"id": "2e3e6066-8984-4021-aae6-9fc438e2f30b"
}
}
}
Internal content