June 2018
Intermediate to advanced
184 pages
3h 28m
English
Now, we are going to use Postman to test the API. If you don't have Postman installed on your computer yet, you can get it at getpostman.com and install it on your local operating system.
So, let's test the API. Open Postman and enter the URL that is to serve as the endpoint for our service. To retrieve the URL, head back to Terminal. You can get the information about our service by typing sls info, which will provide several pieces of information including the required endpoint that is the URL. Copy the endpoint and enter the URL. Select the appropriate HTTP method – in our case, it's the get method—and send the request:
As shown previously, we get back the response, including the required event.
Read now
Unlock full access