Skip to content

[Bug in REST-API]: caseSensitiveMethods in EndpointUrlFormatter #492

@FRZB1n

Description

@FRZB1n

REST-API method name

imbot.v2.*

Description

imbot.v2.Bot.register - currentely sends "api method not found" because is case sensetive method

How to reproduce

try to call any of imbot.v2 method

Possible Solution

$caseSensitiveMethods = [
'tasks.flow.Flow.create',
'tasks.flow.Flow.update',
'tasks.flow.Flow.delete',
'tasks.flow.Flow.get',
'tasks.flow.Flow.isExists',
'tasks.flow.Flow.activate',
'tasks.flow.Flow.pin',
'imbot.v2.Bot.register',
'imbot.v2.Bot.update',
'imbot.v2.Bot.get',
'imbot.v2.Bot.list',
'imbot.v2.Bot.unregister'
];

and all others imbot.v2 methods

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug in REST-APISomething isn't working in REST-API

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions