almost 2 years ago
Assume that there are 3 APIs. Each API does exactly the same task(to give you weather details) but has different endpoints as follows:
Select the country using the drop-down.
a. Select the API according to the country. API selection is programmatic, which will be decided according to the country selected by the user.
b. Write your code such that, any API can be used without disturbing the business logic.
c. There must be a limit on the number of requests that can be sent. Throw an error if no. of requests exceed the limit.
d. It does not require HTTP calls or APIs. Just create a wrapper for API with the specified method and return some dummy values.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2020 FindNerd.com. All rights reserved.
Sign up using