Getting "UNSUPPORTED GET" as a REST response

Document ID : KB000072809
Last Modified Date : 08/03/2018
Show Technical Document Details
Issue:
Encountering "Unsupported Method: GET." error when trying to pass endpoint path in a variable. This is due to the fact that {{path}} given in the test case is not replaced with actual value instead it is taking some other value but when checked the properties in the ITR it has actual valid value. 
Environment:
DevTest 10.x versions
Cause:
In the REST step, there is an option for "Encoding property values in the URL" and if it is checked which will cause the path to encoded values and can cause the issue. 

For example, if a path has a value like ssf/acct/info and it will become "ssf%2Facct%2Finfo" when "Encoding property values in the URL" is checked. Unchecking the "Encoding property values in the URL" option should resolve the issue. Please see the below screenshot.

User-added image

Documentation on the REST step at https://docops.ca.com/devtest-solutions/10-2/en/reference/test-step-descriptions/web-web-services-steps/rest-step.will provides this information.
Resolution:
Issue resolved after unchecking the "Encoding property values in the URL" option. 
Additional Information:
Documentation on the REST step is available at https://docops.ca.com/devtest-solutions/10-2/en/reference/test-step-descriptions/web-web-services-steps/rest-step