@staticmethod<EOL><INDENT>def create_body(action, params):<DEDENT>
body = {}<EOL>body['<STR_LIT:action>'] = action<EOL>if params is not None:<EOL><INDENT>body['<STR_LIT>'] = params<EOL><DEDENT>return body<EOL>
Create http body for rest request.