Skip to Content

REST URL parameters syntax

Sep 26, 2017 at 05:47 AM


avatar image

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 ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Vadym Diachenko
Sep 27, 2017 at 07:20 AM

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 -

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 -

Best regards,

10 |10000 characters needed characters left characters exceeded