You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wanting to use the a property in an httpclient's url interpolation - Can I modify the query value like I can with passed args?
BackStory
My endpoint I'm pulling from has a lot of query values which dont change frequently. for instance, the store ID and product ID change often, but the values for the api key and the channel hardly change (but do seldomly change).
Current Setup
I've a getter which includes the api key by manually adding ?key=${threshr.key}. I tried doing similarly to interpolating a pojo with & for another property 'CHANNEL' but no dice (see below). Is this a supported ability? I can't find anything on supported annotations for variable interpolation
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Synopsis
I'm wanting to use the a property in an httpclient's url interpolation - Can I modify the query value like I can with passed args?
BackStory
My endpoint I'm pulling from has a lot of query values which dont change frequently. for instance, the store ID and product ID change often, but the values for the api key and the channel hardly change (but do seldomly change).
Current Setup
I've a getter which includes the api key by manually adding
?key=${threshr.key}
. I tried doing similarly to interpolating a pojo with&
for another property 'CHANNEL' but no dice (see below). Is this a supported ability? I can't find anything on supported annotations for variable interpolationBeta Was this translation helpful? Give feedback.
All reactions