-
I added support for JSON requests in PubSub REST API with actions handling
/rest/pubsub/{component}/{action}@. There was support for JSON using @/rest/pubsub/{component}
but this required same format as in adhoc which was not easy to use.I also updated documentation in asciidoc reflect changes in API
-
Works!
wojtek@atlantiscity.local ~/dev $ curl -H "Content-Type: application/json" -X POST -d '{"node":"wojtek/chat/H084LqAofoopG7sa-08","owner":"admin@atlantiscity"}' http://admin%40atlantiscity:admin@atlantiscity:8080/rest/pubsub/pubsub.atlantiscity/create-node { "Note": "Operation successful" }
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
4727
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
Following results in
java.lang.IndexOutOfBoundsException