Skip to content

Commit

Permalink
chore: (endpoints) update region tag setup in endpoints/getting-start…
Browse files Browse the repository at this point in the history
…ed/app.js
  • Loading branch information
hivanalejandro committed Feb 6, 2025
1 parent 8aa58f9 commit eec9f9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions endpoints/getting-started/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// [START app]
'use strict';

// [START endpoints_server_setup]
// [START setup]
const express = require('express');

Expand All @@ -25,6 +26,7 @@ app.set('case sensitive routing', true);
// This middleware is available in Express v4.16.0 onwards
app.use(express.json());
// [END setup]
// [END endpoints_server_setup]

app.post('/echo', (req, res) => {
res.status(200).json({message: req.body.message}).end();
Expand Down

0 comments on commit eec9f9a

Please sign in to comment.