For more information about this procedure, including optional steps that are not included here, see Adding application resources.
- Click Applications and then go to .
- Click to expand the application you created in the previous procedure.
- Click the Pencil icon.
- Click the Resources tab.
- Click + Add Resource.
- In the Name field, enter a unique name up to 64 characters, including special characters and spaces.
In the Path Patterns field, enter a list of
URLpath patterns, within the context root, that identify this resource. URL URL (Uniform Resource Locator) Identifies a resource according to its Internet location.Info:
The path pattern must start with a forward slash (/). It begins after the application context root and extends to the end of the URL.
When automatic path pattern evaluation ordering is in use (default), patterns can contain one or more wildcard characters (*). No use of wildcards is assumed. For example, there is a difference between
/app/*. If a request matches more than one resource, the most specific match is used.
- In the Resource Authentication section, select Standard, using the same authentication for the resource as for the root application.
In the Methods field, enter the methods supported by the
Leave the asterisk default if the resource supports all HTTP methods, including custom methods.Tip: Defining methods for a resource allows more fine-grained access control policies on API resources. If you have a server optimized for writing data (POST, PUT) and a server optimized for reading data (GET), you might want to segment traffic based on the operation being performed.
- To log information about the transaction to the audit store, select the Audit check box.
- To enable the resource, select the Enabled check box.
- Click Save.