Authenticating to Web Services - Spectrum_OnDemand - web_services - Latest

Spectrum OnDemand Web Services (REST)

Product type
Software
Portfolio
Verify
Product family
Spectrum
Product
Spectrum > Geocoding > Enterprise Tax
Spectrum > Web Services
Spectrum > Spatial > Spectrum Spatial
Spectrum > Spectrum Platform
Spectrum > Quality > Addressing
Spectrum > Quality > Spectrum Quality
Spectrum > Spatial > Spectrum Spatial Insights
Spectrum > Discovery
Spectrum OnDemand
Spectrum > Dataflow Designer
Spectrum > Spatial > Spectrum Spatial Analyst
Spectrum > Quality > Context Graph
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (REST)
Copyright
2024
First publish date
2006
ft:lastEdition
2024-07-17
ft:lastPublication
2024-07-17T23:23:16.481321

Spectrum OnDemand web services use HTTP basic authentication. In HTTP basic authentication, the user ID and password are encoded in base64 and passed to Spectrum OnDemand in the HTTP header of each request to the web service.

To authenticate to Spectrum OnDemand web services:

  1. Encode your Spectrum OnDemand user name and password in base64 in this format:

    UserName:Password

    You can use any base64 encoder to encode your user name and password, including freely available encoders available on the web.

    For example, if your user name is MyUsername and your password is Password1, you would encode this string in base64:

    MyUsername:Password1

  2. Include the base64-encoded user name and password in the Authorization header in the request, in this format:
    Authorization: Basic EncodedUsernameAndPassword

    For example,

    GET https://spectrum.precisely.com/rest/PsapAhjLookupUS/results.xml?Data.AddressLine1=4200%2BParliament%2BPL&Data.City=Lanham&Data.StateProvince=MD 
    HTTP/1.1
    Host: spectrum.precisely.com
    Authorization: Basic YmFsaTk0OXk6Z3JvqXAh