public Response save ( ) throws RequestException , LocalOperationException { Map < String , Object > templateData = new HashMap < String , Object > ( ) ; templateData . put ( "name" , name ) ; options . put ( "steps" , steps . toMap ( ) ) ; templateData . put ( "template" , options ) ; Request request = new Request ( transloadit ) ; return new Response ( request . post ( "/templates" , templateData ) ) ; }
Submits the configured template to Transloadit .