Skip to content

Add feature flipping between two different API #23

@MayuriXx

Description

@MayuriXx

We use if the random user API is down :

URL for Random User API

randomuser.api.base-url=https://dummyjson.com/ -> rename this, for example : dummy.api.base-url

So create a second one url for example : randomuser.api.base-url with the url of random-user : https://randomuser.me/

Update the RandomUserRetrofit
Update the documentation
Update fetchRandomUsers with first call at random user, if the response is 500 so call the second api

/!\ TWO models different, one for dummy and one for randomUser

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