Skip to content

Allow relative path in callbacks to call self #1730

@255kb

Description

@255kb

Callbacks currently require an absolute URL. Calling an endpoint of the same API requires to use localhost:port, same in the cloud where the unique URL must be provided.

By allowing relative URLs a callback could call an endpoint from the same API.

This requires to prevent circular callbacks, where a callback call an endpoint triggering the same callback. To solve this, a specific header could be passed with the callback ID to avoid re-triggering the same callback.

Metadata

Metadata

Assignees

Labels

Projects

Status

📦 Released (v9.5.0)

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions