Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for putLocalReviews (0.15 sec)

  1. samples/bookinfo/src/ratings/ratings.js

      } else { // the version that holds ratings in-memory
        res.writeHead(200, {'Content-type': 'application/json'})
        res.end(JSON.stringify(putLocalReviews(productId, ratings)))
      }
    })
    
    dispatcher.onGet(/^\/ratings\/[0-9]*/, function (req, res) {
      var productIdStr = req.url.split('/').pop()
      var productId = parseInt(productIdStr)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 02 00:29:57 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top