Below are the steps
Add bearer token to the header on Main collection tab, and the request as shown below
And now manually check what happens when we run - Get comments request, use the 'inherit auth from parent' option - it shows 200 OK, and returns the comments as shown below
Expected: 200 OK status Actual : 401 Unauthorized stauts
Any help will be really appreciated, thanks
CodePudding user response:
Every Sub folder should refer to the 'inherit from parent ' in the auth method . In this case, make sure the sub folder ACCOUNT has the auth method set to 'inherit from parent'. And make sure to click the save button before exporting the collection file.