This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Step 3 - Web Application Resources
Details of the third step in the process of creating a Web application in WSO2 App Manager are shown below.
Follow the steps below to complete the Web Application Resources section of creating a new Web application in App Manager.
Enter the URL Pattern of the Web app resource.
The URL Pattern of a Web app resource is in the
/{context}/{version}/{web_app_resource_name}
format. The context and version are the values you entered in Step 1 - Overview section of creating the app. For example, if the URL ishttp://<IP_ADDRESS>:<PORT>/travel-booking/1.0.0/time-tables
, the context istravel-booking
and version is1.0
.Select the HTTP Verb corresponding to the URL pattern you entered as shown below.
The available HTTP verbs are described below.HTTP verb Description GET This is used to retrieve information from a server using a URI. POST This is used to send data to a server using HTML forms. PUT This replaces all current representations of the target resource with the uploaded content. DELETE This removes all current representations of the target resource given by a URI. OPTIONS This describes the communication options for the target resource. Click Add Resource. The URL pattern will be added to the defined list of Web app resources as shown below.
You can select the Resource Policy for all HTTP Verbs of a specific URL Pattern of Web app resources as shown above. For example, you can add the resource policy created above to the POST HTTP verb of the/{context}/{version}/time-tables
URL pattern as shown above.- For instructions on step 4 of the process of creating a Web app in App Manager, see Step 4 - Advanced Configuration.