Skip to content

validateV3Signature fails when there is no query parameter in URL using Post Method #335

@Matt-B50

Description

@Matt-B50

I get

Warning: Undefined array key "query" in Plivo\Util\v3SignatureValidation::constructGetUrl() (line 101 of /code/vendor/plivo/plivo-php/src/Plivo/Util/v3SignatureValidation.php)

See https://github.com/plivo/plivo-php/blob/0061ba51c96c6c27e92c2ba98250f3547b81b794/src/Plivo/Util/v3SignatureValidation.php#L101C9-L101C44

I'm submitting the URL called by Plivo on a POST request to my end point. It has no query parameter (and I'm not switching to GET requests). I've overcome this by appending a "?" to my URL when calling validateV3Signature

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions