Hello there,
I am able to send Long Poll Requests to the Presence Services REST API. But when I send the PUBSUB Container request, I only get "" as an Answer.
PUBSUB Request:
{
"pubSubContainer": {
"additionalResources": {
"capabilitiesPublication": {},
"presencePublication": {},
"serviceCapabilitiesSubscription": {},
"presenceSubscriptions": [ {}, {} ],
"watcherAuthReqSubscription": {},
"imSubscription": {},
"sentImSubscription": {},
"presentity": {}
},
"restPostbackUri": "https://<server-url>/test.php"
}
}
Answer from Event Delivery:
HTTP/1.1 415 Unsupported Media Type
Server: web
Date: Tue, 01 Jun 2021 13:13:36 GMT
Transfer-Encoding: chunked
Connection: keep-alive
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Language: en-US
Set-Cookie: JSESSIONID=00009WS6u33YXV5VIPNsLfXzDHQ:-1; Path=/; HttpOnly
Set-Cookie: ibmappid=local.1622548124626
Strict-Transport-Security: max-age=31536000; includeSubdomains
I just updates to the latest versions for Presence and EventDelivery (8.1.4)