Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rasika-sarang authored Jul 15, 2024
1 parent 9b0596e commit ab8bf99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ const crypto = require('crypto');
app.use(express.urlencoded({ extended: true }));
app.use(express.json());

app.get('/', (req, res) => {
res.send('Hello World')
})

app.post('/api/getdecryptedkey', (request, response) => {
console.log("Request Body", request.body);
const privateKey1 = crypto.createPrivateKey({
Expand Down

0 comments on commit ab8bf99

Please sign in to comment.