Skip to content

Not able to detect the route url without \ #2547

Open
@PuneetAgrawal-plivo

Description

@PuneetAgrawal-plivo

Issue Description

I had created routes using POST with path parameters. If the value is not passed in path params it is not able to read the route and if the value is passed it is able to read it

route("VerifiedCallerId/Verification/:verification_uuid", tc.ValidateOtp, POST),

if the :verification_uuid is not passed then getting 405 if the value is passed working properly

Checklist

  • [ yes] Dependencies installed
  • [ yes] No typos
  • [ yes] Searched existing issues and docs

Expected behaviour

it should go to the path function and process

Actual behaviour

it is returning method not allowed
Status code : 405
{
"message": "Method Not Allowed"
}

Steps to reproduce

Working code to debug

package main

func main() {
}

Version/commit

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions