Hello;
I am trying to make a transaction using the API document in the link below, but I am stuck at the very beginning.
(https://www.ibm.com/support/pages/system/files/support/ssg/ssgdocs.nsf/0/e9fb11326bbf003685257f01006cbfc6/$FILE/RESTfulAPIv2.pdf)
The doc says that we can access the root directory without authentication to get the API version.
https://node_ip:port/
When I try to access the device as https://192.168.100.20:9443, I get the following warnings;
Bad Request - Invalid Hostname
HTTP Error 400. The request hostname is invalid.
It was a detail I discovered. When I send an API request to flashsystem 900 at IP address 192.168.100.20 over a different network, I get these errors. However, if I send an API request from 192.168.100.0, I get a response.
But the system I built with API progress is on a different local ip on a different VLAN inside. How can I make flashsystem 900 respond to API requests from a different local ip inside.
In addition to these, when I access the https://192.168.100.20:9443 root directory with APi from a server in the same subnet, I get version output as follows.
{
"versions": [
"0.1",
"1.0"
]
}
According to the https://node_ip:port/APT_version/auth template specified in the Farak API document https://192.168.100.20:9443/1/auth
https://192.168.100.20:9443/v1/auth
or
https://192.168.100.20:9443/v1.0/auth
I get a 404 error when I send with GET via URLs.
------------------------------
Murat Gokce SUZEN
------------------------------