Skip to content

Support for relative URLs without leading slash #22

Description

@hars-21

GET users currently fails because fetch only concatenates when the path starts with /.
Many users omit the leading slash.

In runner::fetch treat any path that does not start with http:// or https:// as relative.

Desired output:

  • GET /users
  • GET users
  • GET http://api.example.com/users

All these 3 formats should work

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions