Question 9
2021-11-03
Please attempt to deploy a function on our service. This need not be complicated, could be "Hello World" or something fancier. Note that failure to deploy is not failing the exercise! Whether you have trouble or not, please describe what you experienced and how you attempted to troubleshoot, instead. We won't be asking you to share the function (but you can if you want to!), we just want to hear about the experience in some detail.
Netlify functions are awesome all the way around. I've implemented a social card (png) creator on Netlify among others. It's a really great way for developers to create lambda functions without having to do them on AWS which can be very daunting in comparison. I do want to add that the new process of not having to config your functions in the netlify.toml now if you put them in the netlify/functions path lends to a great customer experience.
I just created a simple hello function with a parameter string passed. Simple example, so I did a proxy redirect as api.
Try Hello: https://netlify-exercise.alves.dev/.netlify/functions/hello?name=Netlify
Try Proxy: https://netlify-exercise.alves.dev/api/hello?name=Netlify