Sending GETs
You can use a request tool, such as Postman, to ensure GETs are well-formed and to review the structure of the response payloads. For more information, see Requests and responses.
Send a GET using Postman
Procedure
Tutorial: Send a basic Postman request
This tutorial assumes you have set up your environment with Postman and the correct sample data set. For more information, see Tutorial: Set up your Postman environment.
Tutorial steps
- In Postman, start a new request by clicking the + to the right of the
Launchpad tab.
- On the Authorization tab, select Basic Auth using user aapplegate and password gw.
- Enter the following call and click Send: GET http://localhost:8180/pc/rest/common/v1/activities
Checking your work
Once a response has been received, its payload is shown in the lower portion of the Postman interface. The first few lines of the response payload are:
{
"count": 11,
"data": [
{
"attributes": {
"activityPattern": "uw_review_contingency",
"activityType": {
"code": "general",
"name": "General"
},
"assignedByUser": {
"displayName": "Alice Applegate",
"id": "pc:105"
},