Suppose I have a simple node.js file as follows:
var express=require('express')
var app=express()
app.get('/login',function(req,res){ res.send('Welcome to login!') })
app.post('/login',function(req,res){
res.send('Successful!')
})
app.get('/register',function(req,res){
res.send('')
})
app.listen(8081)
Now when I deploy this on Apigee, I want to create multiple proxies for this file based on the path. Like I want to create a separate proxy for /login and /register.
Can someone help me figure this out?