user3029: Currently the nxt gui generates a QR code for certain pages where you can scan with your phone or another computer to do an air gap transaction. How can you do this via the api?

user3029: https://nxtwiki.org/wiki/The_Nxt_API_Examples#Encode_QR_Code
You can do the following:
http://localhost:7876/nxt?
  requestType=encodeQRCode&
  qrCodeData=NXT-7A48-47JL-T7LD-D5FS3&
  width=100&
  height=100

Or via the command line: 
curl -d requestType=encodeQRCode -d qrCodeData=NXT-XXX-XXX-XXX-XXX -d width=100 -d height=100 http://localhost:7876/nxt
You can use it in an image tag like this: 
< img src="data:image/gif;base64,R0lGODlhEAAQAMQAAO....." width="100" height="100" />

3029: <p>Currently the nxt gui generates a QR code for certain pages where you can scan with your phone or another computer to do an air gap transaction. How can you do this via the api?</p>
 3029: <p><a href="https://nxtwiki.org/wiki/The_Nxt_API_Examples#Encode_QR_Code" rel="nofollow">https://nxtwiki.org/wiki/The_Nxt_API_Examples#Encode_QR_Code</a></p>

<p>You can do the following:</p>

<pre><code>http://localhost:7876/nxt?
  requestType=encodeQRCode&amp;
  qrCodeData=NXT-7A48-47JL-T7LD-D5FS3&amp;
  width=100&amp;
  height=100
</code></pre>

<p>Or via the command line: </p>

<p><strong>curl -d requestType=encodeQRCode -d qrCodeData=NXT-XXX-XXX-XXX-XXX -d width=100 -d height=100 <a href="http://localhost:7876/nxt" rel="nofollow">http://localhost:7876/nxt</a></strong></p>

<p>You can use it in an image tag like this: </p>

<p><em>&lt; img src="data:image/gif;base64,<strong>R0lGODlhEAAQAMQAAO.....</strong>" width="100" height="100" /></em></p>
