window.location.reload reload page before api calls code example
Example: javascript reload page without refresh
<a href="javascript:window.top.location.reload(true)" class="continue">Continue</a>
<a href="javascript:window.top.location.reload(true)" class="continue">Continue</a>