Bad Request when sending message to Extension PubSub

I did some modifications to the GenerateToken method to change what you pointed (base 64 encoding and converting channelID.ToString()). What I wasn’t doing was reading the body response, my fault.

"{\"error\":\"Bad Request\",\"status\":400,\"message\":\"Request body was not parsable. Attempted Content-Type: \\\"application/json\\\"\"}"

Problem is in the Content-Type right? Just to be sure

Edit: Yep, indeed. Now I’m getting another set of errors but since I’m now reading the body response I can figure it out… I hope!

Thank you for your time Barry! Much appreciated!