Unsolved
This post is more than 5 years old
32 Posts
0
2017
February 6th, 2017 17:00
Unable to access CoprHD via restapi
Hi there,
I am trying to access https:// :4443/vdc/storage-provider but getting following error. I am using the right credentials because when I wrong credentials it pops up the credentials window again. Please help.
HTTP ERROR: 401
Problem accessing /vdc/storage-provider. Reason:
using cookies? retry using "using-cookies" query parameter
Powered by Jetty://
Thanks,
Ritu
No Events found!
ritu86jain
32 Posts
0
February 7th, 2017 06:00
hey!! tried this, didnt work :-/
FoolInTheRain
123 Posts
1
February 7th, 2017 06:00
If the above doesn't help, another src for assistance with CoprHD is:
FAQ - CoprHD - Confluence
Which states:
Question: What support is provided for CoprHD?
Answer: CoprHD is released as open source software and comes with no commercial support. Obviously, the open source community will support each other and you can come to HipChat, the google groups, or stack overflow for any questions or issues.
Velik1
36 Posts
1
February 7th, 2017 08:00
Hi.
you need to make sure cookie is stored in your browser cache, before you hit your api directly.
1) http://{viprvip}:4443/login?using-cookies=true
--- this should auth challenge you, and then display a balnk screen with a few lines showing your username
2) http://{viprvip}:4443/{{your api path}}
--- this should return back your API calls.
--- this only works for GET HTTP calls - aka only showin you resources
--- for real API see this KT session: https://inside.emc.com/docs/DOC-184507,
Nov 23, 2015
Title : How to Create an Order using ViPR APIs
Topics : How to use the ViPR REST APIs
What plugins are required
Use of the Catalog services
Different interfaces to invoke API.
Demo of use of the Chrome Postmaster interface at the 32 minute mark.
Recording: https://emccorp.webex.com/emccorp/lsr.php?RCID=47214da1d2bd9b65ebc7e2063fd54345
ritu86jain
32 Posts
0
February 8th, 2017 06:00
Thank you all!!