<p dir="auto">API Routes should emulate lambdas with run-to-completion semantics. This behavior should ensure API routes don't misbehave when deployed to production.</p>
<p dir="auto">Closes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5820" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/discussions/8000" data-hovercard-type="discussion" data-hovercard-url="/vercel/next.js/discussions/8000/hovercard" href="https://github.com/vercel/next.js/discussions/8000">#8000</a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Context</h2>
<p dir="auto">I'm tying to get multiple query data. I came up with this before redirect:</p>
<p dir="auto"><code class="notranslate">Router.push('/acceptance/procurement/RejectedInfo?procurementUUID=0ae56414-0699-4866-898d-be41ab146523?acceptanceUUID=24ecb437-8e52-48f1-82f8-d5d7fb1d22b7');</code></p>
<p dir="auto">which mean there is 2 query param:<br>
<code class="notranslate">procurementUUID=0ae56414-0699-4866-898d-be41ab146523</code> and<br>
<code class="notranslate">acceptanceUUID=24ecb437-8e52-48f1-82f8-d5d7fb1d22b7'</code></p>
<p dir="auto">but in my props, both query is merged with <code class="notranslate">procurementUUID</code><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14165645/28398611-94a6546c-6d3a-11e7-864e-643af5799759.png"><img src="https://user-images.githubusercontent.com/14165645/28398611-94a6546c-6d3a-11e7-864e-643af5799759.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">How can I separate <code class="notranslate">procurementUUID</code> and  <code class="notranslate">acceptanceUUID</code> value?</p>
<p dir="auto">Thanks in advance.</p>