Comments (2)
Hi @rward27 it's a common misconception that every HTTP verb should be its own function. I'm really not sure how people come up with this one.
Use one function per responsibility or entity and switch on the HTTP verb, HTTP path or query string.
Alex
from workshop.
/add label: question,support
from workshop.
Related Issues (20)
- Macedonian Translation HOT 1
- Broken link to "The Director pattern" HOT 1
- Wrong Gateway Hostname in the Lab 4 HOT 1
- Incorrect file extension in the lab 4
- K3d start new cluster workflow is outdated HOT 1
- Lab 2 Monitoring dashboard port-forwarding incorrect command HOT 1
- Lab 3: faas-cli up -f hello-openfaas.yml fails HOT 1
- Lab4: Sentiment Analysis only works randomly, and requests.get() does't work HOT 1
- Remove Swarm references from Japanese translation HOT 11
- Let's translate it to Chinese language! HOT 3
- Lab 3: Multiple Issues HOT 3
- Lab 5: Ngrok Tunnel commands are not working HOT 2
- No armhf templates??? HOT 4
- Gateway in CrashLoopBackOff when using Minikube HOT 3
- How do I set expanded timeouts? HOT 5
- Convert Grafana steps in Lab 2 to use an arkade app HOT 2
- GH sponsor link is broken in README because a typo HOT 1
- installing openfaas with arkade HOT 1
- "curl -SLsf https://dl.get-arkade.dev/ | sudo sh" should be "curl -sLS https://get.arkade.dev | sudo sh" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workshop.