You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [examples][examples] folder has basic and advanced examples. The examples within each service assume that you already have [service credentials](#getting-credentials).
60
+
The [examples][examples] folder has basic and advanced examples. The examples within each service assume that you already have [service credentials](#getting-credentials).
61
61
62
62
Credentials are checked for in the following order:
63
63
@@ -69,7 +69,7 @@ Credentials are checked for in the following order:
69
69
70
70
3. IBM-Cloud-supplied credentials (via the `VCAP_SERVICES` JSON-encoded environment property)
71
71
72
-
If you run your app in IBM Cloud, the SDK gets credentials from the [`VCAP_SERVICES`][vcap_services] environment variable.
72
+
If you run your app in IBM Cloud, the SDK gets credentials from the [`VCAP_SERVICES`][vcap_services] environment variable.
73
73
74
74
### Client-side usage
75
75
@@ -187,6 +187,18 @@ var discovery = new DiscoveryV1({
187
187
});
188
188
```
189
189
190
+
### Setting the service URL
191
+
192
+
You can set the service URL by calling the setServiceUrl() method.
Custom headers can be passed with any request. Each method has an optional parameter `headers` which can be used to pass in these custom headers, which can override headers that we use as parameters.
0 commit comments