# How do you access functions?

**URL:** <https://answers.netlify.com/t/how-do-you-access-functions/746>\
**Category:** Support\
**Tags:** lambda-functions\
**Created:** [May 2, 2019, 5:39am UTC](https://answers.netlify.com/t/how-do-you-access-functions/746 "2019-05-02T05:39:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trafnar](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/trafnar/32/613_2.png) [@trafnar](https://answers.netlify.com/u/trafnar)\
**Post date:** [May 2, 2019, 5:39am UTC](https://answers.netlify.com/t/how-do-you-access-functions/746/1 "2019-05-02T05:39:18Z")

</div>

I created a folder with functions, told Netlify where to find it, and deployed. When I visit [mysite.com/test.js](http://mysite.com/test.js) I see the Javascript source code of my “test” function. Should I not see the result of executing the code?

---

<div class="post-metadata">

**Author:** ![futuregerald](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/futuregerald/32/33_2.png) [@futuregerald](https://answers.netlify.com/u/futuregerald)\
**Post date:** [May 3, 2019, 2:04pm UTC](https://answers.netlify.com/t/how-do-you-access-functions/746/2 "2019-05-03T14:04:01Z")

</div>

Hi @trafnar,

Assuming the function name is `test.js`, you access your functions from `/.netlify/functions/test`, The function code you write is deployed to AWS lambda, we then setup an API gateway that you access via the path I just mentioned. We have a lot of [great documentation on our functions](https://www.netlify.com/docs/functions/), I recommend that you check it out.

---

<div class="post-metadata">

**Author:** ![trafnar](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/trafnar/32/613_2.png) [@trafnar](https://answers.netlify.com/u/trafnar)\
**Post date:** [May 3, 2019, 6:41pm UTC](https://answers.netlify.com/t/how-do-you-access-functions/746/3 "2019-05-03T18:41:26Z")

</div>

Thanks Gerald, I was able to figure it out based on your comment, I’m excited to play with this feature now.

I had read through the documentation, but was kinda confused since I hadn’t seen a URL like /.netlify/ before, and I wasn’t sure if the url would end in `test.js` or just `test`.

Having an example like `example.com/.netlify/functions/foo` in the docs would make it super clear.
