Accessing remote web services

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsAccessing remote web services

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'.


Roles-web-service.png