Question

3
Replies
2378
Views
EugeneR7 Member since 2013 30 posts
Deutsche Bank
Posted: 3 years ago
Last activity: 3 years 6 months ago
Closed

Testing Connect-REST with POST method

We have an external REST service which has GET method disabled and only POST is supported. This is verified with SoapUI as well (with a distinct error message on GET method).

When clicking Test Connection button in the Connect-REST service, it will always default to GET method (as seen in pyTestConnectivity activity) with no option to test other methods (explicitly referencing httpRequest = new com.pega.apache.http.client.methods.HttpGet(endpointURL.toString() ). Is it possible somehow to test connectivity with other methods? The nature of REST API is that it has distinct and well defined methods, so it would be quite limiting to force test connectivity to only 1 out of 4 methods (GET/POST/PUT/DELETE).

***Updated by moderator: Lochan to add Categories***

Low-Code App Development Testing Applications Data Integration
Moderation Team has archived post
Share this page LinkedIn