Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya4242 authored Mar 27, 2024
1 parent fff063f commit d8608fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app.get('/health',(req,res)=>{
res.send("All Good");
})

app.post("/addx",(req,res)=>{
app.post("/add",(req,res)=>{
const {num1, num2} = req.body;
const result = Number(num1) + Number(num2)
res.status(200).send({
Expand Down

0 comments on commit d8608fb

Please sign in to comment.