Server Version#: 1.28.1.6104
Player Version#:
I’ve set up an API endpoint in AWS API Gateway to trigger an AWS Lambda function so I can control some home automation via webhooks. Unfortunately, when AWS API Gateway receives the POST data from the webhook, the Content-Type header isn’t set to application/json. By default, API Gateway takes the body data for any request which the Content-Type header hasn’t been set and base64 encodes the data instead of treating the data like JSON data. Ideally Plex Media Server posts this webhook data with the correct Content-Type header set when sending JSON data so the data can be more easily handled by the API receiving the data.