Calling Web Services

Get Student info:
(Python Web Service)

http://samsultan.com/python/demo/ws/webService.py?studentId=1
Web Client
Server-side Python Client
Get Stock Quote:
(Python Web Service)

http://samsultan.com/python/demo/ws/webStock.py?symbol=GOOG
Web Client
Server-side Python Client
Read Server File:
(PHP Web Service)

http://samsultan.com/php/demo/ws/readFile.php?file=/etc/services&page=1&limit=30
Web Client
Read/Update Data:
(PHP Web Services)
(Python Web Services)

http://samsultan.com/util/controls/control_status.php
http://samsultan.com/util/controls/control_status.py
http://samsultan.com/util/controls/control.php?ctl=python-on
http://samsultan.com/util/controls/control.py?ctl=java-off
Web Client
Search:
(Perl Web Service)

http://samsultan.com/perl/demo/ws/1searchJSON.cgi?q=su
Web Client
Dropdown Lists:
(PHP Web Service)

http://samsultan.com/util/sql/sql.php?user=demo2&pswd=demo2&db=demo2&sql=select name from country where type='country'&output=XML
Web Client
Validate as you type:
(PHP Web Service)

http://samsultan.com/util/sql/sql.php?user=demo&pswd=demo&db=demo&sql=select * from instructor where lname='Sultan'&output=JSON
Web Client
Address Book:
(Python Web Service)

http://samsultan.com/util/rest/RESTaddrbook.py?lname=sul&dbtype=mysql
Web Client (version 1)
Web Client (version 2)
Freeform SQL:
(PHP Web Service)
(Python Web Service)

http://samsultan.com/util/rest/REST.php?user=demo&pswd=demo&db=orcl&sql=select * from student&dbtype=oracle&format=json
http://samsultan.com/util/rest/REST.py?user=demo&pswd=demo&db=demo&sql=select * from student&dbtype=mysql&format=xml
Web Client
Web Client (Charting tool)
Address Book:
Freeform SQL:

(Java Web Services)
-- Port 9999 is closed --

http://workshop.sps.nyu.edu:9999/servlet/RESTaddrbook?lname=sul&dbtype=oracle (using port :9999 in URL)
Web Client (version 1)
Web Client (version 2)
http://workshop.sps.nyu.edu:9999/servlet/SQLService?user=demo&pswd=demo&db=demo&sql=select * from student&dbtype=mysql&format=json
Web Client
Address Book:
Freeform SQL:

(Java Web Services)
-- Using Gateway --

http://samsultan.com/util/gateway/javaGateway.php?pgm=AddrBook&param=sul
Web Client (version 1)
Web Client (version 2)
http://samsultan.com/util/gateway/javaGateway.php?pgm=sqlQuery&param=select * from student&param2=mysql
Web Client
Public Web Services
Zipcode information
TV/Movie information
Random Joke
My IP address
Domain lookup
States or Provinces
Currency Conversion

https://api.zippopotam.us/us/10001
https://api.tvmaze.com/search/shows?q=young+sheldon
https://official-joke-api.appspot.com/random_joke
https://api.ipify.org/?format=json
https://api.domainsdb.info/v1/domains/search?domain=samsultan.com
https://rawcdn.githack.com/kamikazechaser/administrative-divisions-db/master/api/CA.json
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/usd.json