Consuming a API and building our JSON interface
- Consume the API http://jsonplaceholder.typicode.com/users
- From the Response pick only
id, name, username, email
- Build your own JSON API with the keys as
id, display_name, user_name, email, welcome_message
Eg:
{
id: 1,
display_name: "Ankit Gupta - ankit8898",
user_name: "ankit8898",
email: "ankit@ankit.com",
welcome_message: 'Welcome, Ankit. We will send mails to ankit@ankit.com'
}