Connecting to Remote Web Services

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsConnecting to Remote Web Services
(Remote Web Service (anything with a REST API))
 
Line 1: Line 1:
== Remote Web Service (anything with a REST API) ==
+
== Remote Web Service (any HTTP endpoint) ==
  
 
To connect to a remote web service, follow these steps.
 
To connect to a remote web service, follow these steps.
Line 5: Line 5:
 
*Go to the Services tab in the admin console.
 
*Go to the Services tab in the admin console.
 
*Click Create.
 
*Click Create.
*Set the Service Type to 'Remote Web Service.'
+
*Set the Service Type to HTTP Service.
 
*Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
 
*Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
 
*Go to the Config tab for the new service.
 
*Go to the Config tab for the new service.

Latest revision as of 22:54, 14 July 2016

Remote Web Service (any HTTP endpoint)

To connect to a remote web service, follow these steps.

  • Go to the Services tab in the admin console.
  • Click Create.
  • Set the Service Type to HTTP Service.
  • Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
  • Go to the Config tab for the new service.
  • Enter the base URL for the service.
  • Enter any additional CURL settings to use when making remote web service requests.
  • Enter any query parameters. If parameter is passed from client to DreamFactory, checking Exclude will prevent the parameter from being sent to the service. Checking Outbound will add the parameter before DreamFactory calls the service.
  • Enter any headers. If header is sent from client to DreamFactory, checking Pass from Client will cause header to be sent to service. If Pass from Client is not checked the header will be added before being sent to service.
  • Click Create Service to save your new service.


Related Tutorials: