Thanks for the suggestion @pulkitvashisth . In my case, I don't have a form. It is more of a post api call to my servlet which takes JSON as the input, verifies the structure and invokes sling request processor's process request to import the json to create nodes. In this process, I am not sure how ...