Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

After creating model.json is it possible send with params like model.json?field=value&field=value

Avatar

Level 2

After creating model.json is it possible send with params like model.json?field=value&field=value

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @rengan76 

 

I don't think there is a OOB way to pass the query parameters in model.json. In case you want to pass the query parameter, you would have to write your own servlet and get the parameters from request object and then using the HttpClient object execute the model.json API call.

 

Hope this helps. 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @rengan76 

 

I don't think there is a OOB way to pass the query parameters in model.json. In case you want to pass the query parameter, you would have to write your own servlet and get the parameters from request object and then using the HttpClient object execute the model.json API call.

 

Hope this helps.