The New REST Resource dialog allows you to add REST resources to a defined REST service.

Note: Each REST resource you create includes these four REST verbs (HTTP methods) : GET, PUT, POST, and DELETE. These REST verbs appear under Verb Association on the REST Expose Editor.

To add a REST resource:

  1. On the Resources toolbar, click the Add Resource icon.
    The New REST Resource dialog appears.
  2. In the Resource URI field, enter a Uniform Resource Indentifier (URI) for the resource. The REST resources you add are identified with Uniform Resource Identifier (URI). The name must start with /. For example, /resource URI.
    Note: In a REST resource URI, you cannot use the Java reserved words such as int, char, or boolean, as the path or query parameter names. For more information, see Add REST parameters.
  3. Click OK.
This creates the REST resource and displays on the Resources list.