How to encode a query key in adapter endpoint

Hello All,

I need to create an endpoint in a ServiceNow adapter that queries the opportunity table in ServiceNow using "opportunity_name' as the query key. It works well in cURL (using Postman), but I'm having trouble getting it to work in Integrate. The desired URL looks like this:

I tried to set up the endpoint as shown in the image below, where I created a parameter {name} and  /opportunity/{name} maps to /u_opportunity?sysparm_query=opportunity_name={name}

The request URL created by this configuration was this: Name

This is clearly different from the desired URL. Can anyone recommend how to set up the endpoint so that it will incorporate the query key?