Comments (5)
Ok, let's talk about this.
You basically mean adding a new method called webHooks.update(OBJ);
? this can be easily implemented.
Right now you can pass a JSON file with pre-existing content:
var webHooks = new WebHooks({
db: './webHooksDB.json' // json file that store webhook URLs
});
With an update
method you would be able to add a JSON object programmatically to the DB.
from node-webhooks.
from node-webhooks.
So we're referring to the in-memory storage: #4 .
These new persistence methods are under development.
But the code should be refactored for this improvements.
PR are more than welcome.
from node-webhooks.
@simonschllng If this is still relevant, you may be interested in
#16
from node-webhooks.
InMemory storage shipped with v1.3.0
.
from node-webhooks.
Related Issues (20)
- Increase test coverage HOT 1
- Why only accept http status 200? HOT 4
- how can i add webhoock in memory bd
- additional data on trigger event HOT 6
- Call GET Function HOT 1
- Error on trigger webHookshortname1with status code null and body null HOT 2
- webHook does not carry json payload HOT 14
- test and publish the new 1.1.1 release HOT 1
- Retry support HOT 1
- Documentation needs improving. HOT 2
- Request: Add url interpolation feature
- Emitter or Webhook trigger no longer works HOT 2
- Why it triggers several times, depends upon the number of URL
- Pluggable Storage Adapter HOT 2
- Adicionar arquivo de tipagem do typescript
- Travis CI HOT 1
- Extend the persistence layer to support more DB HOT 2
- Standard JS & nsp HOT 1
- Add tests coverage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-webhooks.