Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering ArcGIS Enterprise Administration

You're reading from   Mastering ArcGIS Enterprise Administration Install, configure, and manage ArcGIS Enterprise to publish, optimize, and secure GIS services

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781788297493
Length 382 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Chad Cooper Chad Cooper
Author Profile Icon Chad Cooper
Chad Cooper
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. ArcGIS Enterprise Introduction and Installation 2. Enterprise Geodatabase Administration FREE CHAPTER 3. Publishing Content 4. ArcGIS Server Administration 5. Portal for ArcGIS Administration 6. Security 7. Scripting Administrative Tasks 8. The ArcGIS Python API 9. ArcGIS Enterprise Standards and Best Practices 10. Troubleshooting ArcGIS Enterprise Issues and Errors

Working with ArcGIS Server services


We've talked about services at great length so far, but let's turn our attention to working with those services programmatically. Anyone can go to a REST endpoint and click and pick around; let's look at how we can dig a bit deeper to get more out of our services.

Interrogating a REST endpoint with curl and Node.js

A couple of years back, I needed to interrogate some services at a REST endpoint to get information about the fields and aliases in the service layers. What I really needed was a list of each field name and its alias, preferably separated by a comma; basically, I wanted a CSV file. Something made me think of using curl (https://curl.haxx.se) to query the REST endpoint to get at the JSON behind the service, but then I had to parse the JSON. Well, the JSON format is based on a subset of the JavaScript programming language, so I wondered if Node.js could parse the JSON. I eventually ran across the json npm package, which is a command-line tool for...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime