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
Google Cloud AI Services Quick Start Guide

You're reading from   Google Cloud AI Services Quick Start Guide Build intelligent applications with Google Cloud AI services

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788626613
Length 234 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Arvind Ravulavaru Arvind Ravulavaru
Author Profile Icon Arvind Ravulavaru
Arvind Ravulavaru
Arrow right icon
View More author details
Toc

Setting up a REST client

Before we start exploring the APIs, we need a REST client to interface with these services. So, here are two REST clients and how you can set them up.

Setting up cURL

cURL is a command line tool for making HTTP requests. Since Cloud Vision API is accessed over REST, we can use curl as a client for it. You can download cURL for your OS from here: https://curl.haxx.se/download.html. You can test the installation by running the following command:

$ curl --version
curl 7.50.0 (x86_64-apple-darwin15.4.0) libcurl/7.50.0 OpenSSL/1.0.2h zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets...
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 €18.99/month. Cancel anytime