How to add webhooks with a key: CustomHttpHeaders?
in the webpage "Add a Plugin to UNG"
choose webhooks v1.2 (demo)
there is no 'CustomHttpHeaders' key showed.
and no '+' button.
choose webhooks v1.2 (demo)
there is no 'CustomHttpHeaders' key showed.
and no '+' button.
0
Best Answer
-
Hi @PogoRockGames,
Thank you for choosing Photon!
You have two options:
1.
From the drop-down list, don't choose "Webhooks v1.2, demo" (for demo only, not all keys are present/configured).
Instead, choose "Webhooks v1.2" (template with all keys and empty values).
You'll find "CustomHttpHeaders" key.
2.
Replace a key that you don't use or that you set to default value with "CustomHttpHeaders" and update its value accordingly.5
Answers
-
Hi @PogoRockGames,
Thank you for choosing Photon!
You have two options:
1.
From the drop-down list, don't choose "Webhooks v1.2, demo" (for demo only, not all keys are present/configured).
Instead, choose "Webhooks v1.2" (template with all keys and empty values).
You'll find "CustomHttpHeaders" key.
2.
Replace a key that you don't use or that you set to default value with "CustomHttpHeaders" and update its value accordingly.5 -
Hello
I have used it for more than a year and it has worked fine but it has recently (like a week ago) stopped working for me.
I've put
CustomHttpHeaders { "foo_bar": "--baz--" }
and then on our side (php) seen:
$_SERVER["HTTP_FOO_BAR"] === "--baz--"
And it has worked fine, but that has recently stopped working.
$_SERVER["HTTP_FOO_BAR"] is no longer set (and the value "--baz--" is not assigned to any variable). And that is even though we haven't edited CustomHttpHeaders (nor any of the other webhooks.)
Has there been any changes?0 -
finally I choose opt2,
opt1, I still can't find a key "CustomHttpHeaders"0 -
I still can't find a key "CustomHttpHeaders"
You can check this in the screenshot here: https://ibb.co/kZCPBU0