# HTTP Binding - Perspective

**URL:** <https://forum.inductiveautomation.com/t/http-binding-perspective/21290>\
**Category:** Ignition Early Access\
**Created:** [December 7, 2018, 4:33pm UTC](https://forum.inductiveautomation.com/t/http-binding-perspective/21290 "2018-12-07T16:33:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![plarochelle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plarochelle/32/29608_2.png) [@plarochelle](https://forum.inductiveautomation.com/u/plarochelle)\
**Post date:** [December 7, 2018, 4:33pm UTC](https://forum.inductiveautomation.com/t/http-binding-perspective/21290/1 "2018-12-07T16:33:35Z")

</div>

I’m trying to find some information on HTTP binding. I can successfully get a stock price with the following url in a system.net.httpGet script function but can’t get it to work on a perspective label with HTTP binding. I’m sure there is something I’m missing.

[https://api.iextrading.com/1.0/stock/aapl/price](https://api.iextrading.com/1.0/stock/aapl/price)

I’m simply entering the URL in the URL field with the GET method selected.

Thanks,  
Pete

---

<div class="post-metadata">

**Author:** ![jspecht](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jspecht/32/6465_2.png) [@jspecht](https://forum.inductiveautomation.com/u/jspecht)\
**Post date:** [December 7, 2018, 4:39pm UTC](https://forum.inductiveautomation.com/t/http-binding-perspective/21290/2 "2018-12-07T16:39:47Z")

</div>

The URL provided works for me in an HTTP binding. What error are you seeing? Are you wrapping the url in quotes? Urls are expressions.

---

<div class="post-metadata">

**Author:** ![plarochelle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plarochelle/32/29608_2.png) [@plarochelle](https://forum.inductiveautomation.com/u/plarochelle)\
**Post date:** [December 7, 2018, 5:08pm UTC](https://forum.inductiveautomation.com/t/http-binding-perspective/21290/3 "2018-12-07T17:08:02Z")

</div>

That was it - I had omitted the quotes. Thank you!

Now the next step I’m trying to render a QR Code in an image object using HTTP binding. The following renders a png image and I’m not getting an error but the image is not rendering:

[https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example](https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example)

Thanks,  
Pete

---

<div class="post-metadata">

**Author:** ![jspecht](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jspecht/32/6465_2.png) [@jspecht](https://forum.inductiveautomation.com/u/jspecht)\
**Post date:** [December 7, 2018, 5:13pm UTC](https://forum.inductiveautomation.com/t/http-binding-perspective/21290/4 "2018-12-07T17:13:47Z")

</div>

Do you need to use an HTTP binding? When I paste the QR code image URL you provided into the image component’s source prop, it renders the QR code for me.

---

<div class="post-metadata">

**Author:** ![plarochelle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plarochelle/32/29608_2.png) [@plarochelle](https://forum.inductiveautomation.com/u/plarochelle)\
**Post date:** [December 7, 2018, 6:44pm UTC](https://forum.inductiveautomation.com/t/http-binding-perspective/21290/5 "2018-12-07T18:44:24Z")

</div>

Once again you are correct. Thanks for the quick responses!
