Htp.p('<a id="b_exit" type="button1" class="button button3" class="exit" '||'href="'||APEX_UTIL.PREPARE_URL('f?p=&APP_ID.:152:&SESSION.::&DEBUG.::::')||'">Exit. </a>
<input type="button1" class="button button1" class="t-Icon t-Icon--right fa fa-print" id="print" type="button" onclick="printdiv(''div_print1'');" value="Print"/><br/>
<div id="div_print1" style="margin-top:5px;"> ');
htp.p('<pre><a href="https://www.qr-code-generator.com" style="cursor:default"></a>
<img src="https://chart.googleapis.com/chart?cht=qr&chl='||:P2_DATA||'&chs='||:P2_WIDTH||'x'||:P2_HEIGHT||'&choe=UTF-8&chld=L|2" </pre>');
htp.p('\</div>');
------------------------------------------------
In above code I want to include my API ---How can I do this???