0% found this document useful (0 votes)
27 views4 pages

How To Login With Basic Authentication Using REST API

This article provides a detailed guide on logging in to various Virtual Storage Platform (VSP) models using REST API with basic authentication. It covers the necessary environment setup, including account privileges and Base64 encoding of credentials, along with examples using Postman, Python, Curl, and PowerShell. The information is sourced from the REST API Reference Guide document id MK-94HM8050.

Uploaded by

mohadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views4 pages

How To Login With Basic Authentication Using REST API

This article provides a detailed guide on logging in to various Virtual Storage Platform (VSP) models using REST API with basic authentication. It covers the necessary environment setup, including account privileges and Base64 encoding of credentials, along with examples using Postman, Python, Curl, and PowerShell. The information is sourced from the REST API Reference Guide document id MK-94HM8050.

Uploaded by

mohadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

How to Login with Basic Authentication Using REST

API
Summary
This article provides a step-by-step guide on how to log in using REST API with basic authentication for various
Virtual Storage Platform (VSP) models, including G/F350, G/F370, G/F700, G/F900, and E Series (E590, E790,
E990). It outlines the necessary environment setup, including ensuring an account with sufficient privileges, encoding
the account credentials to Base64, and including the encoded string in the REST API request headers. The article
also includes examples of making API requests using Postman, Python, Curl, and PowerShell.

Content
Objective
 How to log in using REST API and basic authentication

Environment
 Platform REST API
 VSP G/F350 G/F370 G/F700 G/F900
o VSP G350, G370, G700, G900
o VSP F350, F370, F700, F900
 Virtual Storage Platform (VSP) E Series
o VSP E590
o VSP E790
o VSP E990
 Basic Authentication

Procedure
1. Make sure there is an account with sufficient privileges
2. Encode the account to Base64 as follows
o Username = maintenance
o Password = raid-maintenance
o Encoding Format = username:password
o Base64 encoded = bWFpbnRlbmFuY2U6cmFpZC1tYWludGVuYW5jZQ==

3. Make sure the REST API requests include the Base64 string as Basic Authorization in the headers
1. External Online Calculator: [Link]

Example From Postman


 In this example, we are sending a GET request to see the storage instances. This requires an account with
Storage Administrator privileges.

Example From Python


Example From Curl

Example From PowerShell

Documentation

The information above can be found in document id MK-94HM8050 REST API Reference Guide

CXone Metadata
Tags: REST API,Gx00/Fx00,HM850,Platform REST,Basic Authentication,postman,no svp,VSP E
Series,HM900,SVPLess,pf restapi,restapi

PageID: 41764

Keywords
[Link]
_with_Basic_Authentication_Using_REST_API 41764 Base64 REST API Authentication Encode HM850 HM900
DW850 DW900
Solution ID
240403050041764
Last Modified Date
10/07/2024 [Link] PM
Attributes
Page Privacy and Permission Assignment

 Page Privacy: Private


 Page Level Permissions: Employee; Service Partner; Customer; Knowledge Author; Knowledge Editor; IT;
eServices; Knowledge Draft
 Article: howto
 Pagetype: knowledgearticle

Taxonomy

 Storage > VSP G130 G/F350 G/F370 G/F700 G/F900


 Storage > VSP E Series

Collections

 Customer

Go to Original Solution

Upland RightAnswers Portal - Version 2024R2

You might also like