Authentication problem between vSPoT and external server (endpoint). Error 401

  • 1
  • Question
  • Updated 10 hours ago
  • (Edited)
Hi,

We have installed a lockal vSPoT location server and tested it in the API Explorer and it is working fine.
Our problem is the interface between vSPoT and external analytic server. 
When we send a GET request from the external server, we get an answer, that our request is blocked due to authentication:
status: 401 Unauthorized
x-xss-protection: 1; mode=block
www-authenticate: Basic realm="Ruckus SPoT"

We checked the API key double and it is correct. 
May be someone faced the same problem or have an idea what is wrong...

Examples of request:
curl -i -X GET -H "Content-Type: application/json" -d'{"api_key":"API_KEY"}' https://192.168.10.218/api/v1/venues/name/devices/192.168.10.3/find.json

or

curl -i -u NAME:PASSWORD https://192.168.10.218/api/v1/venues.json


Regards
Igor
Photo of Igor Tunakin

Igor Tunakin

  • 12 Posts
  • 1 Reply Like

Posted 1 week ago

  • 1
Photo of Igor Tunakin

Igor Tunakin

  • 12 Posts
  • 1 Reply Like
Well, the issue is closd. It was our mistake. 
The curl command used was wrong