WebAPI/SimplePush/Protocol: Difference between revisions

Jump to navigation Jump to search
→‎AppServer -> PushServer: Updated to reflect server defaulting version to UTC
(→‎AppServer -> PushServer: Updated to reflect server defaulting version to UTC)
Line 298: Line 298:


The AppServer MUST make a HTTP '''PUT''' request to the Endpoint received from the App.
The AppServer MUST make a HTTP '''PUT''' request to the Endpoint received from the App.
The body of the request MUST contain the string "version=N" and the Content-Type MUST be <tt>application/x-www-form-urlencoded</tt>.
If no request body is present, the server MAY presume the version to be the current server UTC.
If the request body is present, the request MUST contain the string "version=N" and the Content-Type MUST be <tt>application/x-www-form-urlencoded</tt>.


==== PushServer -> AppServer ====
==== PushServer -> AppServer ====
Confirmed users
1,018

edits

Navigation menu