title: Optional Path parameters in AWS APIGateway
body: <p>I am started to work on APIGateway for writing rest API using SAM template.  </p>
  
  <p>I have a endpoint as "example.com", here I need to have path param as optional parameter; 
  ex: www.example.com/user/{optional_Parameter}/</p>
  
  <p>When I tried to hit the above URL without giving parameter it shows 403 Forbidden Error.</p>
  
  <p>Referred few docs, however no luck.  If anyone achieved in API Gateway please do share the workaround to achieve having Optional path parameter.  </p>
  
  <p>Thanks in advance</p>