"Accept" field for subscriptions [message #1715540] |
Tue, 24 November 2015 10:21 |
Sanjin Saric Messages: 4 Registered: July 2015 |
Junior Member |
|
|
Hello,
I am getting confused in some concepts of m2m. I hope someone can clear this.
In "HTTP protocol binding" part of specification it clearly states that the mapping between originator and the http should exist. Specifically, headers Content-Type and Accept.
Accept says that you can specify what formatting of the data you can accept ( process), while Content-Type says of which type is the content in the request.
But the things that confuses me is the following:
How can one specify in Subscription resource, what type should the subscriber receive?
Something like the following:
Subscriber ------------------------------- > some-SCL
sends Subscribe
(Mandatory stuff like
contact...
Also! I want to receive data
formatted in JSON)
Where can SCL save the info about the format in which subscriber wishes to receive the content, or better said where in Subscription resource?
[Updated on: Tue, 24 November 2015 10:22] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02555 seconds