# HTTP request Not working with Endpoint on Losant

**URL:** <https://forums.losant.com/t/http-request-not-working-with-endpoint-on-losant/3839>\
**Category:** Help\
**Tags:** mqtt, rest-api, device\
**Created:** [June 9, 2021, 5:10pm UTC](https://forums.losant.com/t/http-request-not-working-with-endpoint-on-losant/3839 "2021-06-09T17:10:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CHAIMAA\_DRIOUECH](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CHAIMAA\_DRIOUECH](https://forums.losant.com/u/CHAIMAA_DRIOUECH)\
**Post date:** [June 9, 2021, 5:10pm UTC](https://forums.losant.com/t/http-request-not-working-with-endpoint-on-losant/3839/1 "2021-06-09T17:10:19Z")

</div>

Hello,

I have a workflow with an endpoint that I send an http request using rest api to send information such as serial number and Address MAC of new gateways to be added to Losant if they don’t exist.

I am having the error shown in the pictures attached which also include the endpoint workflow. I was wondering if anybody can help solve this issue.

Thanks

 ![resttestest](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/f/faf97d2f1deef436a8a0dadaf673b8a9f5103bd6.png)  
 ![endpoint-register-moxa](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/0/06e04c3695a4400b183f055ff0ca3f5867f34aad.png)

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [June 9, 2021, 5:19pm UTC](https://forums.losant.com/t/http-request-not-working-with-endpoint-on-losant/3839/3 "2021-06-09T17:19:18Z")

</div>

I checked out your application and domain. It looks like your SSL certificate expired on June 7th. This is likely what’s causing the error when attempting to make the HTTP request. You’ll need to get a new certificate and update the [SSL details](https://docs.losant.com/experiences/domains/#securing-your-domain) for your custom domain.

---

<div class="post-metadata">

**Author:** ![CHAIMAA\_DRIOUECH](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CHAIMAA\_DRIOUECH](https://forums.losant.com/u/CHAIMAA_DRIOUECH)\
**Post date:** [June 9, 2021, 5:23pm UTC](https://forums.losant.com/t/http-request-not-working-with-endpoint-on-losant/3839/4 "2021-06-09T17:23:19Z")

</div>

Thanks @Brandon_Cannaday appreciate your help!
