Hi All,
i am using path segments to extract data from the request and i'm testing the API through postman everything worked fine in dev environment but when it goes to the higher environment its not working
for example abc/bcd/cde http!request.pathsegments[3] returns cde in lower environments but in higher environment it returns bcd
endpoint is almost same in all environments. path segment index is changing on the environments is there any server side setting for this anyone can help me please ?
Thanks in advance
Discussion posts and replies are publicly visible
What happens when you just return all the path segments as a list in your response? Does it show something else in the response in dev vs higher environments? What other steps have you tried so far to troubleshoot this?
Yes peter i have tried to return the pathsegments as a response its returning same in all 3 environments and in all environments its working fine if i test the api from appian. But when i test through postman 3rd environment is not working
Hmm, I'm not sure then - it does seem kind of strange, but maybe Postman is adding an extra path segment somewhere? Can you see in Postman the exact request that is being made (and does it match what you're using in Appian)?