Is it possible to send POST request to Netlify Functions?

Hey @brianzelip,
Yes, that’s definitely possible! You’d write a Netlify Function, deploy it with your site, and then the endpoint would be /.netlify/functions/{function_name}, relative to the root directory of your site. So if your site is netlify-site-name.netlify.app, endpoint would be netlify-site-name.netlify.app/.netlify/functions/{function_name}.

This is a great resource with lots of sample code:

Want to take a look and let us know what other questions you have?

2 Likes