I am following this doc for reference. I am able to get information for secure gateway, which is already created. But when I am trying to create a new secure gateway from the REST API, it is asking for authentication. I have tried to provide the authentication information two ways:
- I have provided the oauth authorization header obtained from the
cf oauth-token
, but it gives me an unauthorized error. - I have given basic authentication (username and password of the Bluemix account) information, but it gives me an unauthorized error.
Note: I am using postman for this operation
Postman details:
url: https://sgmanager.au-syd.bluemix.net/v1/sgconfig?org_id=girishxxxxxxx@gmail.com&space_id=Equxxxxx
It is also saying "Invalid org_id", but the org_id
is valid.