After creating model.json is it possible send with params like model.json?field=value&field=value | Community
Skip to main content
Level 2
November 30, 2022
Solved

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

  • November 30, 2022
  • 1 reply
  • 563 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Avinash_Gupta_

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. 

1 reply

Avinash_Gupta_
Community Advisor and Adobe Champion
Avinash_Gupta_Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 1, 2022

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.