Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

HTTP Post using HTTPConnector is not working

SA-38888

Summary



User is using a CONNECT-HTTP rule to perform an HTTP 'POST' action against a Microsoft SQL Server Reporting Services ('SSRS') endpoint.

The format of the URL needed by this endpoint includes HTTP Query String components which are NOT composed of name/value pairs.

For example:

http://httpbin.org/post?/topfolder/

As opposed to a more typical name/value pair style Query String like this:

http://httpbin.org/post?topfolder=something

The CONNECT-HTTP rule was shown to be stripping out the non key-pair values from the URL; so the first URL above would be converted to:

http://httpbin.org/post


Error Messages



Not Applicable. The URL sent is still syntactically correct – but the endpoint will deliver the incorrect response.

Steps to Reproduce




Configure a CONNECT-HTTP Rule that includes (say) a Query String of '?/topfolder/'.

It makes no difference whether this is defined on the 'Endpoint URL' field or under the 'Resource path' field.

Note also: it is not possible to do this on the 'Request' Tab (under 'Query String Parameters') – since this form only supports name/value pairs as components for the Query String.





Root Cause



A defect in Pegasystems’ code or rules.

HTTP-CONNECTOR does not allow to construct this form of URL.The Query Parameter string that contains straight-forward values/path style; rather than the more usual 'name=value' pairs



Resolution



Perform the following local-change: use a CONNECT-REST rule instead of a CONNECT-HTTP rule.



Suggest Edit

Published July 27, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us