Forum Discussion

ajaxian's avatar
ajaxian
New Contributor
15 years ago

REST request editor doesn't accept spaces

I'm using soapUI 3.6.1.

I need to create a REST query string which reads:

Filter=WKREQ%20WHERE%20AutoNumber='61810'


If I enter in the request editor:

WKREQ WHERE AutoNumber='61810'


the request editor changes the string to:

WKREQ+WHERE+AutoNumber%3D%2761810%27%3D


which causes the REST request to fail.

If I enter in the request editor:

WRKREQ%20WHERE%20AutoNumber='61810'


the request editor changes the string to:

WRKREQ%2520WHERE%2520AutoNumber%3D%2761810%27%3D


which also fails.

Maybe there's a way to coax the request editor to work properly with embedded spaces, but I can't find any documentation that shows how to do so. To me, it looks like this is either a bug or poor design. Please advise. Thanks.

2 Replies

  • Hi!

    hmm... what kind of parameter is this? Is it for POST or GET requests? Can you attach a screenshot showing your setup?!

    regards!

    /Ole
    eviware.com
  • ajaxian's avatar
    ajaxian
    New Contributor
    Greetings, Ole,

    The web service call is using a GET. I'm not sure what I'm doing differently today as opposed to last week, but the call now seems to be working all right. I'm sure I made a mistake somewhere along the way, and have now corrected it.

    My apologies for taking your time.