The law first requires "a national emergency created by attack upon the United State, its territories or possessions, or its armed forces."
Then, and only then, the President goes to Congress.
In this instance, Trump did not have legal justification to wing it.
Link: https://www.law.cornell.edu/uscode/text/50/1541