Skip to content

Support for full URLs in get(), post() etc. - desired feature? #7

@NamelessCoder

Description

@NamelessCoder

Hi Miloslav,

First of all thanks for the API code! I use it in my Gizzle project: https://github.com/NamelessCoder/gizzle

I'll be very brief - I have a simple use case that I would like to have supported by the API. When performing calls via the API the returned data very often contains the URLs which can be used to manipulate the data, but these URLs are full URLs including the protocol and the API seems to require relative URLs instead. Currently I simply crop the domain and protocol off before passing it to your API but the code would be much cleaner and transparent if one could simply pass the raw URLs returned alongside the entity datas.

My question is: do you think such support would make sense? If you do, I'd be happy to make a pull request but I thought I'd ask before going ahead.

Cheers,
Claus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions