cancel
Showing results for 
Search instead for 
Did you mean: 

REST URL parameters syntax

Former Member
0 Kudos

When we use SOAP UI 5.3 to test REST Service using the following parameters , we get correct response with complete structure.

For Example:

( parameter ?filter=status eq approved &count=true&select=*)

But the same URL with same parameters does not work in PO REST URL The

question for the experts--> , DOES PO7.5 REST adapter works differently because of spaces after 'status' and eq . In the audit log, I could see RESTOUT_HTTP_HEADER individually , but it does not show complete URL. Any suggestions to get this working correctly ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Prasad,
As you may know, according to W3C standards no spaces are allowed in URL string. SAP follows commonly accepted industrial standards, thus such URL format is not allowed. Moreover, I'd say that service with such URL routing rules cannot be considered as RESTful - https://en.wikipedia.org/wiki/Representational_state_transfer#Relationship_between_URL_and_HTTP_meth...

As a possible workaround, you could just accept spaces by substituting them in query string as any browser does it (escaped as %20). But, I'd recommend to create the routing rules on the REST service and have "friendly" URLs - https://en.wikipedia.org/wiki/Semantic_URL

Best regards,
Vadym