Accessing remote web services
From DreamFactory
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | === Tutorial === | |
Setting up role-based access to remote web services. | Setting up role-based access to remote web services. | ||
− | + | === Background === | |
Roles govern HTTP access to the REST API endpoints in DreamFactory. When you set up access to a remote web service in the 'Services' tab, no API endpoints of the remote web service are accessible by default (unless you are a DreamFactory Admin). | Roles govern HTTP access to the REST API endpoints in DreamFactory. When you set up access to a remote web service in the 'Services' tab, no API endpoints of the remote web service are accessible by default (unless you are a DreamFactory Admin). | ||
− | You can give access to | + | You can give access to remote web service endpoints by following the example below. |
− | + | === Example - Enable HTTP access to a remote web service. === | |
− | 1. Log into the DreamFactory admin console as an Admin. | + | :1. Log into the DreamFactory admin console as an Admin. |
− | 2. Click on 'Roles' > 'Create'. | + | :2. Click on 'Roles' > 'Create'. |
− | 3. In the 'Access' tab, select the name of the web service for 'Service', * for 'Component' (* simply denotes access to all endpoints of the remote web service), HTTP verbs for 'Access', and API for 'Requestor'.<br><br> | + | :3. In the 'Access' tab, select the name of the web service for 'Service', * for 'Component' (* simply denotes access to all endpoints of the remote web service), HTTP verbs for 'Access', and API for 'Requestor'.<br><br> |
[[File:Roles-web-service.png|1000px]] | [[File:Roles-web-service.png|1000px]] |
Latest revision as of 18:23, 3 February 2016
Tutorial
Setting up role-based access to remote web services.
Background
Roles govern HTTP access to the REST API endpoints in DreamFactory. When you set up access to a remote web service in the 'Services' tab, no API endpoints of the remote web service are accessible by default (unless you are a DreamFactory Admin).
You can give access to remote web service endpoints by following the example below.
Example - Enable HTTP access to a remote web service.
- 1. Log into the DreamFactory admin console as an Admin.
- 2. Click on 'Roles' > 'Create'.
- 3. In the 'Access' tab, select the name of the web service for 'Service', * for 'Component' (* simply denotes access to all endpoints of the remote web service), HTTP verbs for 'Access', and API for 'Requestor'.