# REST service

The REST Service Connector can be used to consume REST services. The configuration for a REST Connector is mainly done in the tool "Novacura REST Connector Project" which is access by pressing the 'EDIT' button in 'REST connector project' section.

#### Configuration <a href="#configuration" id="configuration"></a>

* REST connector project\
  &#x20;Contains the connector project, press 'EDIT' to edit the project. See [REST Project Tool](https://home.novacuraflow.com/Help/latest/?help_root_connectors_communication_rest_rest_connector) for more information.
* Base address\
  &#x20;Required url to base address of REST service.
* Authentication\
  &#x20;In this section the authentication to be used while communicating with REST service can be configured. "Username (basic)" and "Password (basic)" can be used for Basic Authentication, as specified in RFC2617. If the connector has been configured to send Authorization headers, that will be used, otherwise the values set in this section will be used (or per Flow user if no Username setup in this section).\
  &#x20;In this section there is also the option to accept any certificate from server in an https session. This should only be used for test or development scenarios when no other option exists.
* Encoding for url parameters\
  &#x20;The encoding to use when parameters are sent as part of the url (query parameters). If not set, UTF-8 will be used.
* Cache metadata In this section you can specify whether the machine step should cache metadata information or not. It is useful to set this to 'No' while developing the REST connector, and then to 'Yes' once it's stable.
* Logging\
  &#x20;In this section logging is configured. Either incoming or outgoing or both can be logged. If something goes wrong in the communication, an entry is added to the file errorLog.txt. In order to enable logging, a valid path relative to the Flow Server must also be provided. Note that the path must already exist, the connector will not create the path. Also note that the user that Flow Server is running as must have write access to the path.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.novacuraflow.com/6.11/development/flow-studio/connectors/communication/rest-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
