Question
CTS
IN
Last activity: 23 Jun 2022 16:55 EDT
Not showing 'Resource not found' error
Hello,
I have exposed 2 api's in pega , which is as below :
1)GET: https://api.example.com/v1/TestPega
2)GET : https://api.example.com/v1/TestPega/abc
My question :
While I am testing the 2nd api from Postman , mentioning url as https://api.example.com/v1/TestPega/ab ,
I am suppose to get 'Resource not found' error instead getting validation error which I have added in GET : https://api.example.com/v1/TestPega/abc
api which means it is entering into this api and that is not supposed to enter.
Please let me know .why it is entering into this api and why I am not getting Resource not found error ?
***Edited by Moderator Marije to change Content Type from Discussion to Question; added capability tags***