-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/consumption reporting changes (#7)
* Minor corrections to consumption reporting endpoint * Increase version number * Add consumption reporting examples * Increase version number to 1.1.0
- Loading branch information
Showing
4 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
var express = require('express'); | ||
var router = express.Router(); | ||
|
||
var querystring = require('querystring'); | ||
var querystring = require('body-parser'); | ||
|
||
|
||
router.post('/:provisisioningSessionId', function(req, res, next) { | ||
const provisisioningSessionId = req.params.provisisioningSessionId; | ||
//res.send("respond a resource for consumption-reporting with post for provisisioningSessionId:" + provisisioningSessionId); | ||
|
||
router.post('/:provisioningSessionId', function(req, res, next) { | ||
res.send(204); | ||
}); | ||
|
||
module.exports = router; | ||
module.exports = router; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters