title: How to create an endpoint with 2 path params. AWS API Gateway
body: <p>I have an url in such format: <code>resource_1/{id_1}/resource_2/{id_2}/assign</code>.</p>
  
  <p>I know how to create a simple proxy resource with 1 path param. But in my case I got two. </p>
  
  <p>So I decided to create it one by one, at first <code>resource_1/{id_1}/</code> and then expand it to <code>resource_2/{id_2}/assign</code> and as you see on picture, action <strong>Create Resourcce</strong> is blocked on initial proxy resource.</p>
  
  <p>How can I solve this issue to have endpoint with 2 path params?</p>
  
  <p><a href="https://i.stack.imgur.com/cvf4t.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cvf4t.jpg" alt="enter image description here"></a> </p>