# Check the URL status code

**URL:** <https://forum.uipath.com/t/check-the-url-status-code/25537>\
**Category:** Help\
**Tags:** studio, webapi, activities\
**Created:** [March 14, 2018, 5:59am UTC](https://forum.uipath.com/t/check-the-url-status-code/25537 "2018-03-14T05:59:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kalishwari](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kalishwari/32/512955_2.png) [@Kalishwari](https://forum.uipath.com/u/Kalishwari)\
**Post date:** [March 14, 2018, 5:59am UTC](https://forum.uipath.com/t/check-the-url-status-code/25537/1 "2018-03-14T05:59:29Z")

</div>

Hi team,

I am new to UiPath. I have created a simple workflow which checks the availability of the url whether it is valid or not. some of the url’s I am able to access in my browser but it throwing the result as proxy authorization required here we are used our organization proxy. I have used http request activity to get the status code and description.  
URL Status code Description  
[https://www.github2.com](https://www.github2.com) 504 Unknown Host

[https://www.google.com](https://www.google.com) 407 Proxy Authorization Required

[http://localhost/](http://localhost/) 407 Proxy Authorization Required

Thanks!

---

<div class="post-metadata">

**Author:** ![richarddenton](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/richarddenton/32/11819_2.png) [@richarddenton](https://forum.uipath.com/u/richarddenton)\
**Post date:** [March 14, 2018, 7:33pm UTC](https://forum.uipath.com/t/check-the-url-status-code/25537/2 "2018-03-14T19:33:20Z")

</div>

@Florent_Salendres I quite like this approach - can you help 🙂

---

<div class="post-metadata">

**Author:** ![Florent\_Salendres](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/florent_salendres/32/74617_2.png) [@Florent\_Salendres](https://forum.uipath.com/u/Florent_Salendres)\
**Post date:** [March 15, 2018, 9:17am UTC](https://forum.uipath.com/t/check-the-url-status-code/25537/3 "2018-03-15T09:17:24Z")

</div>

It looks like your internet access is going trough a proxy which also requires authentication.  
This is effectively a .Net issue which could be resolve using UseDefaultCredential = true with the http request object.

Maybe you can have a look on the following posts and try to reproduce the examples with Invoke code using either HTTPResquest or webclient (AFAIK UiPath activity for HTTP request do no offer possibility to usedefaultCredentials)

> <https://stackoverflow.com/questions/4015324/send-http-post-request-in-net>

Cheers
