Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update link from backend response (when redirects) #20

Open
chiliec opened this issue Apr 20, 2020 · 0 comments
Open

Update link from backend response (when redirects) #20

chiliec opened this issue Apr 20, 2020 · 0 comments

Comments

@chiliec
Copy link

chiliec commented Apr 20, 2020

For example I entered url http://kripipasta.com/story/9630
It redirects to https://kripipasta.com/story/9630-276-j-kilometr.html

So I want to add url to meta data:

{
    "success": 1,
    "meta": {
        "url": "https://kripipasta.com/story/9630-276-j-kilometr.html",
        "title": "276-й километр",
        "description": "Получилось длинно.\r\nЯ работаю на железной дороге, занимаю должность помощника машиниста тепловоза.",
        "image": {
            "url": "https://kripipasta.com/images/gif/42.gif"
        }
    }
}

And I expect the link to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant