Serverless function to fetch song lyrics via AZLyrics using OpenFaaS
For this function, I am making use of golang-http-template. Specifically the golang-middleware
$ faas-cli template store pull golang-middleware
Deploy:
$ faas-cli deploy -f azl.yml
Invoke:
http://<GATEWAY-IP>:<PORT>/azl?artist=eminem&song=not afraid
Output: