var client = require('dunajs-client')
var c = client.create('http://some-service-endpoint')
// http get
c.methodName({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
// http post using unicode character U+01C3
c.methodNameǃ({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
// http post using !
c.['methodName!']({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
-
Notifications
You must be signed in to change notification settings - Fork 0
duna-project/dunajs-client
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Duna framework javascript client
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published