Apache NIFI provides InovkeHttp processor to make HTTP / HTTPS requests. But if there are some customizations required while making the HTTP(S) request such as disabling hostname verification, ...
Create a class that implements NiFiGroovyContext.class. The method parameter is the NiFi script context. Once the code is finished, copy the method body to the NiFi ExecuteGroovyScript Property ...