As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
I'm issuing an SNS call from AWS which sends a content-type: text/plain header. Kinvey seems to ignore the body of the request on anything other than content-type: application/json and all that's in request.body is and empty object {}.
Is there any way to hook into the raw request of the endpoint? Something like request.raw would be useful and I would then be able to parse the body myself.
Any advice? There's no way to alter the headers on AWS SNS so hoping I can find a solution in Kinvey.
Thanks
1 Comment
C
Caroline
said
almost 9 years ago
Hey Patrick, Unfortunately we don't currently support the behavior you've mentioned here. When you POST to Kinvey, it needs to be JSON. I haven't investigated SNS fully, but this documentation seems to point to JSON formatting for SNS: http://docs.aws.amazon.com/sns/latest/dg/json-formats.html
Patrick Gold
I'm issuing an SNS call from AWS which sends a content-type: text/plain header. Kinvey seems to ignore the body of the request on anything other than content-type: application/json and all that's in request.body is and empty object {}.
Is there any way to hook into the raw request of the endpoint? Something like request.raw would be useful and I would then be able to parse the body myself.
Any advice? There's no way to alter the headers on AWS SNS so hoping I can find a solution in Kinvey.
Thanks