Forum Discussion

alisterernest's avatar
alisterernest
New Contributor
13 years ago

"Whitespace" in Method Parameters for REST translates to "+"

I am running SoapUI 4.0.1 to test a bunch of RESTful web-services for my work.
For one particular GET method, I came across a scenario where I thought that there was a bug in our code. But it turned out that SoapUI was appending a "+" (plus) symbol in the REST call being made by SoapUI.
On further investigation I found out that there was a space after the name in the Parameter name column which got translated to the "+" symbol.

Ex: "testHour " becomes "/testHour+=" in the call sent out by SoapUI
And the "+" symbols causes the error.

Seems to me that this needs to be interpreted by the app to truncate the whitespace and consider the name provided as absolute.