In a scenario we’re receiveing a wierd webhook that has the array inside the key name and empty value:
[
{
"{\"secret\":\"xxxxxx\",\"subscription\":\"xxxxxx\",\"amount_usd\":\"100.00\",\"status\":\"1\",\"next_billing_date\":\"2022-09-02\",\"signature\":\"c339b51ece633a73716e05bc8875e8ba\"}": "",
"__IMTHEADERS__": [
{
"name": "connection",
"value": "upgrade"
},
{
"name": "x-real-ip",
"value": "74.84.133.226"
},
{
"name": "x-request-id",
"value": "070bbebf7b680899db446207360007b7"
},
{
"name": "content-length",
"value": "185"
},
{
"name": "accept",
"value": "*/*"
},
{
"name": "content-type",
"value": "application/x-www-form-urlencoded"
}
],
"__IMTMETHOD__": "POST"
}
]
We can’t change the webhook and we can’t parse the key name, just its values, that is empty.
I’m pretty sure that is a simple solution for that, but we couldn’t figure it out. Someone have any idea on how we can make it work?
Thanks in advance