Webhook for GameSparks empty Request_Body

Hi Photon,

I'm using webhook topost info to GameSparks server when player leave a room. I have successfully read the path = GameLeave and REQUEST_BODY from Post info but the REQUES_BODY always return empty so I can't use it to determine anything, is there any reason this could be empty?

Comments

  • this is what returned:

    "{\"REQUEST_BODY\":\"\",\"REQUEST_HEADERS\":{}}"
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @thuyquai,

    I have to give GameSparks a try to test how the integration with Photon webhooks should be set up.
    I recommend you to use nice tools like Postman and runscope meanwhile.
  • Hi John, thanks for the reply, for some reason I can't login using the old account but it's trivial.
    In the mean time I'll use a single script in my host to listening to webhook :smile: