Serverless Developer Guide
• Conﬁguring how to pass the backend-returned result to a method response with a given HTTP 
status code
• Conﬁguring how to transform speciﬁed integration response parameters to preconﬁgured 
method response parameters
• Conﬁguring how to map the integration response body to the method response body according 
to the speciﬁed body-mapping templates.
In the simpler case of proxy integrations, the preceding steps are handled automatically.
Invoke your API
After you have deployed your REST API, you can invoke it. The following shows the standard 
format of an API URL
https://{restapi_id}.execute-api.{region}.amazonaws.com/{stage_name}/
• {restapi_id} is your unique API identiﬁer
• {region} is the AWS region, or location of the API
• {stage_name} is the stage name of the API deployment.
You can call an API using a web browser, through the CLI using cURL or the Postman application. 
After you deploy your API, you can turn on invocation logs using CloudWatch to monitor your API 
calls.
You can call a REST API before deployment for testing in two ways:
• In the API Gateway console by using the API Gateway's TestInvoke feature.
• Through the CLI using the test-invoke-method command.
Both of these methods bypass the Invoke URL and any authorization steps to allow API testing.
Alternatively, after the API is successfully deployed, you can use any command line or graphical 
tool, like cURL or Postman to call your API.
Related resource(s):
• cURL home page - Learn how to invoke APIs with cURL
Fundamentals 66