# HTTP GET request Browse.ai

**URL:** <https://community.homey.app/t/http-get-request-browse-ai/66059>\
**Category:** Flows\
**Created:** [July 15, 2022, 10:10am UTC](https://community.homey.app/t/http-get-request-browse-ai/66059 "2022-07-15T10:10:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miroslav\_Gluch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/miroslav_gluch/32/34842_2.png) [@Miroslav\_Gluch](https://community.homey.app/u/Miroslav_Gluch)\
**Post date:** [July 15, 2022, 10:10am UTC](https://community.homey.app/t/http-get-request-browse-ai/66059/1 "2022-07-15T10:10:27Z")

</div>

Hey. Hey. I would like to retrieve the current diesel prices in my area from the website. I found that it would probably be possible using www.browse.ai where I can create a robot. Has anyone solved something similar?  
This is what I get from browse.ai robot:

 ![nafta](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/2/32b2a5b738c35dd0e623d375371dd3ea97d1c821.png)

I have created an API on the site to call this monitor.

 ![nafta2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/4/44df4a706c2bad581ab79359a805d89c05707418.png)

Now comes my problem and how to get these values into Homey 😃 😃

![nafta3](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/91d1f1961f49667524d8e5f33476d5be851348af.png)

I still can’t get over the error: {“statusCode”:401,“messageCode”:“unauthorized”}  
I admit I’ve never made any flow that works with HTTP requests, so I’m just getting familiar with it.  
Thank you for any help 🤗

---

<div class="post-metadata">

**Author:** ![Libor\_Junek](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Libor\_Junek](https://community.homey.app/u/Libor_Junek)\
**Post date:** [July 16, 2022, 9:45am UTC](https://community.homey.app/t/http-get-request-browse-ai/66059/2 "2022-07-16T09:45:48Z")

</div>

Have you tried the API call over Postman or other tools? You can download the OpenAPI definition and import into Postman. It is working for me, but I tried different endpoint. Then you can compare differences between calls from Postman and Homey.

---

<div class="post-metadata">

**Author:** ![Miroslav\_Gluch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/miroslav_gluch/32/34842_2.png) [@Miroslav\_Gluch](https://community.homey.app/u/Miroslav_Gluch)\
**Post date:** [July 18, 2022, 10:25am UTC](https://community.homey.app/t/http-get-request-browse-ai/66059/3 "2022-07-18T10:25:55Z")

</div>

Could you please describe or use a screenshot of your solution? I have no idea how to use the integration. Thanks

---

<div class="post-metadata">

**Author:** ![PSteijn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/psteijn/32/12622_2.png) [@PSteijn](https://community.homey.app/u/PSteijn)\
**Post date:** [September 1, 2022, 10:19am UTC](https://community.homey.app/t/http-get-request-browse-ai/66059/4 "2022-09-01T10:19:16Z")

</div>

> [@Miroslav\_Gluch](#):
>
> www.browse.ai

Hi,  
I made something similair to check my public IP.  
Just use Homeyscript and use the fetch object, get the json body for your values, see example below.  
The script you can execute in a flow if you want.

 ![json_api](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/1/418efe65c9c87bd139aaa72699cc11e60eb2bade.jpeg)

Have fun!
