Python and REST Kevin Hibma. What is REST? Why REST? REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a.

Slides:



Advertisements
Similar presentations
Give it a REST already Arnon Rotem-Gal-Oz VP R&D xsights
Advertisements

REST - Representational State Transfer
REST Vs. SOAP.
REST Introduction 吴海生 博克软件(杭州)有限公司.
Building and using REST information services Rion Dooley.
Building RESTful Interfaces
Web Services and AIXM. Introduction Subramanyam “Subbu” Nadavala Contractor, L-3 Communications FAA Air Traffic Organization (ATO) Information Technology.
Introduction to Web Services and Web API’s Richard Holowczak Baruch College December, 2014.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
More APIs: Web Services CMPT 281. Announcements Project milestone Lab: – Web services examples.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Integrating Complementary Tools with PopMedNet TM 27 July 2015 Rich Schaaf
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
RESTful Web Development With Nodejs and Express. REST Stands for REpresentational State Transfer Has the following constraints: ◦Client-Server ◦Stateless.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Prepared By : Monika Darji Web Services using REST & JAX-WS.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Web Services XML-RPC, SOAP, REST Advanced Web-based Systems | Misbhauddin.
Leveraging ArcGIS Online Elevation and Hydrology Services
Copyright © Cybage Software Pvt. Ltd. All Rights Reserved. Cybage Confidential. Drupal Web Services 1 Authored by: Chaitanya Anil Kulkarni Presented.
RESTful Web Service 2014 년 12 월 한연희
PV247 – Development I Introduction to ASP.NET and related technologies.
1 Seminar on Service Oriented Architecture Principles of REST.
DM_PPT_NP_v01 SESIP_0715_JR HDF Server HDF for the Web John Readey The HDF Group Champaign Illinois USA.
A FIRST TOUCH ON NOSQL SERVERS: COUCHDB GENOVEVA VARGAS SOLAR, JAVIER ESPINOSA CNRS, LIG-LAFMIA, FRANCE
API Crash Course CWU Startup Club. OUTLINE What is an API? Why are API’s useful? What is HTTP? JSON? XML? What is a RESTful API? How do we consume an.
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
Representational State Transfer (REST). What is REST? Network Architectural style Overview: –Resources are defined and addressed –Transmits domain-specific.
RESTful Web Services What is RESTful?
Web Services An Introduction Copyright © Curt Hill.
REST By: Vishwanath Vineet.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
Representational State Transfer COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Esri UC 2014 | Technical Workshop | Administering ArcGIS for Server with Python Jon Bodamer.
National College of Science & Information Technology.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Lesson 11: Web Services and API's
The Client-Server Model
RESTful Sevices Distributed Objects Presented by: Shivank Malik
Better RESTFul API – Best Practices
WEB SERVICES.
REST: Web Services Abel Sanchez.
REST- Representational State Transfer Enn Õunapuu
Cosc 5/4730 REST services.
Node.js Express Web Services
Unit – 5 JAVA Web Services
C++ Tango REST API implementation
What is REST API ? A REST (Representational State Transfer) Server simply provides access to resources and the REST client accesses and presents the.
Lesson 11: Web Services & API's
Applied Cyber Infrastructure Concepts Fall 2017
Representational State Transfer
WEB API.
Web Browser server client 3-Tier Architecture Apache web server PHP
$, $$, $$$ API testing Edition
Testing RESTful Web APIs
Hyper Text Transfer Protocol
Lesson 11: Web Services and API's
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
Consuming Geoprocessing and Hosted Analytic Services in ArcGIS for Desktop Kevin Hibma.
REST APIs Maxwell Furman Department of MIS Fox School of Business
Leveraging ArcGIS Online Elevation and Hydrology Services
Python and REST Kevin Hibma.
Week 05 Node.js Week 05
Web-Services and RESTful APIs
WCF Data Services and Silverlight
Chengyu Sun California State University, Los Angeles
Presentation transcript:

Python and REST Kevin Hibma

What is REST? Why REST? REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a stateless, client-server, cacheable communications protocol -- and in virtually all cases, the HTTP protocol is used. REST is an architecture style for designing networked applications. - > rest.elkstein.org/2008/02/what-is-rest.html Ummm what? (search has a lot of similar definitions) For this session we’ll use the term REST to loosely describe how we (python scripts) connect and talk to a server / web service end point. and Why? Because its easier (and nicer) than SOAP!

What can I do? ArcGIS Server - Consume, create, update, administer ArcGIS Online (arcgis.com) - Consume, create, update, configure Web services (both ArcGIS and not-ArcGIS) - Consume, update (with permission)

Development pattern Authenticate (get a token) depending on operation Build URLs to hit different end points - Most requests are POST (vs. GET) Send and receive a JSON payload - A REST service could send data back in another format

What to put where? Read API help doc Use Fiddler2 - With fiddler running, perform actions in a browser or other client inspect requests / response (how do I know what a request needs and what a response gives) Response Query parameters Query parameters URL

Time for some code

Links Documentation and examples Ready to go tools, scripts and command line Code as iPython notebook -