Resource Methods Page

Applies to ReadyAPI 3.57, last modified on December 20, 2024

On the Methods page, you can view, add, or delete the methods of your REST resource definition.

ReadyAPI: REST Methods

Click the image to enlarge it.

To open the Methods page:

  1. Double-click a resource in the Navigator.

  2. Switch to the Methods page.

Adding Methods

To add a resource method:

  1. Click .

  2. In the follow-up dialog, enter the method name, select the method type, and add method parameters.

    New REST Method dialog

    Click the image to enlarge it.

ReadyAPI will add the new resource, its method and a sample request to the project.

Managing Method Parameters

Adding Parameters

To add a method parameter:

  1. Click .

  2. In the parameter table, enter a parameter name and value, then select a type.

    Possible type values: QUERY, HEADER, MATRIX, PLAIN.

  3. Select the Creates and opens request check box if you want to create and open a request in the editor.

  4. Click OK.

Deleting Parameters

To delete a method parameter:

  1. Select a parameter in the table.

  2. Click .

  3. In the follow-up dialog, click Yes.

Updating Parameters

To update method parameters from a URL:

  1. Click .

  2. In the follow-up dialog, enter the URL to extract parameters from.

  3. Click OK.

Deleting Methods

To delete a resource method, select it and click .

See Also

REST Parameter Types
REST Resource Editors

Highlight search results