Lab Assignment:: 9 NEW - GayathreeIyer/Advanced-Software-Engineering GitHub Wiki

Name: Gayathree Natarajan Iyer

UMKC ID: 16227784

Class ID: 20

Lab Assignment 9::


Question 1: Create a Private REST service that is Mashup of at least two public REST services. Use this private web service in your web/mobile/hybrid application.


Answer:

--> I have used 2 public rest services:

1)API to validate Phone Number 2)U-Classify

Index Page


--> The user is now requested to enter phone number.

User Entered Number


--> Upon Running restservice.js

Running restsrvice.js


--> JSON Data.

JSON Data


--> Final Output- IndexPage.Uclassify specifies positive if a number is valid and negative if a number is not valid.

IndexPage-Output


--> User enters an Invalid Number.

Invalid Number