Can we use GET and POST methods in one REST integration

Currently we have a requirement where we need to call GET and POST methods for REST integration. We are using Pega 7.4

Can we use both in one REST integration? I want to know what are the Pros and cons for the same.

***Edited by Moderator Marissa to update platform capability tags****


Keep up to date on this post and subscribe to comments

October 11, 2019 - 5:15pm

While others can share their insight, but from logical point of view, if it were prohibited then rule connector form would not allow your define more than one operation together, IMO.

In my view, connector rule is to provide an option to connect to an external system using a specific protocol (e.g. HTTP) and perform relevant actions (HTTP verbs).

October 13, 2019 - 2:52am


You won't be able to call both the methods in one connector.



October 13, 2019 - 1:14pm


Yes you can configure the multiple methods in the REST rule.

While calling the REST, you can configure which method to be invoked. So the same rest can be called with a GET method from step 1 and as a POST from step 2.




October 13, 2019 - 10:41pm

A REST connector/service is supposed to represent a "resource". And the operations POST, GET, PUT, DELETE are used to perform CRUD operations on the resource. When you say, you have a requirement to call GET and POST methods, is it for same REST service/endpoint? If yes, then you can create one REST connector, configure both GET and POST settings and choose which operation to call at by providing method as a parameter for Connect-REST step method (if calling from an activity) or against the data source (if calling from a data page).

October 14, 2019 - 11:10am


Yes, you can use both the methods in one REST.

In Activity before calling REST you need to add conditions like which method should be invoked.

October 16, 2019 - 11:23am

Thank you everyone.