Summary
In Cloud Service Account discovery, sometimes few of the attributes of clou","articleBody":"
How to test AWS REST API using POSTMAN
Summary
In Cloud Service Account discovery, sometimes few of the attributes of cloud resources not updated in CMDB. This article explains how to test AWS REST API using POSTMAN. In this example, I have taken image resource (Amazon Machine Image) for testing.
Instructions
- Download and Install POSTMAN from the link "Download POSTMAN"
- Launch Postman
- Click New on Top Left and choose “Request”
- Enter “Request Name” and type any name in “Select a collection or folder to save to”
\r\n- Create Collection
- Save
- Choose the operation “GET” and enter below URL
https://ec2.amazonaws.com - Go to “Params” tab and enter below query params
\r\n- Key-Value
\r\n- Action DescribeImages
- Version 2016-11-15
- ImageId <give the AMI object id >
- Key-Value
- Go to the “Authorization” tab and choose Type “AWS Signature” and enter below information
\r\n- - AccessKey
- - SecretKey
- - AWS Region (Ex: us-east-1 i.e image location)
- - Service Name (Ex: ec2)
- Click Send request
- On successful execution, you will find the status code as “200” and the output of the REST API is available in the body.
\r\n
Loading...
Loading...