Support Article
Null values also sent as part of Connect-REST GET query string
SA-64278
Summary
The Connect-REST GET method has multiple query string parameters. For example, https://XYZ/search?first-name=ABC&&last-name=XYZ&&dob=DD-MM-YYYY.
The requirement is that Connect-REST should not send the parameter in the query string if one of the parameter is not set.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a Connect-REST GET method with multiple query string parameters
- Run the request with missing parameters
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:Add the pySkipBlankQueryParts parameter with value as 'true' in the respective data page.
Published October 13, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.