WASHINGTON (AP) — In an impassioned appeal for support both at home and abroad, President Barack Obama said Wednesday the credibility of the international community and Congress is on the line in the debate over how to respond to the alleged use of chemical weapons in Syria. As Obama made his case overseas, legislators on Capitol Hill debated whether a proposed resolution authorizing military force would shift the momentum after more than two years of Syrian civil war.

The Senate Foreign Relations Committee delayed a public meeting and huddled in private for more than three hours after Sen. John McCain, an outspoken advocate of intervention, said he did not support the latest version of the Senate resolution to authorize force. The Arizona Republican said he wants more than cruise missile strikes and other limited action, seeking a stronger response aimed at “reversing the momentum on the battlefield” and hastening the departure of Syrian President Bashar Assad.

On the other side of the debate, Sen. Jim Inhofe, R-Okla., said he was not persuaded to support military action, saying the military has been “decimated” by budget cuts and “we’re just not in a position to take on any major confrontation.”

Sen. Rand Paul, R-Ky., said U.S. involvement could well “make the tragedy worse” in Syria, but he predicted that advocates of military intervention would win in the Senate.

“The only chance of stopping what I consider to be bad policy would be in the House,” he said.

Obama, asked in Sweden about his own past comments drawing a “red line” against the use of chemical weapons, said it was a line that had first been clearly drawn by countries around the world and by Congress, in ratifying a treaty that bans the use of chemical weapons.

“That wasn’t something I just kind of made up,” he said. “I didn’t pluck it out of thin air. There’s a reason for it.”

Obama said that if the world fails to act, it will send a message that despots and authoritarian regimes “can continue to act with impunity.”

“The moral thing to do is not to stand by and do nothing,” he declared at a news conference in Stockholm with Swedish Prime Minister Fredrik Reinfeldt.

Asked whether he would take action against Syria if he fails to get approval from Congress, the president said his request to lawmakers was not “an empty exercise.” But he said that as commander in chief, “I always preserve the right and the responsibility to act on behalf of America’s national security.”

With Obama in Europe, the president’s top national security aides briefed legislators in a series of public and private hearings, hoping to advance their case for limited strikes against Assad’s regime in retaliation for what the administration says was a deadly sarin gas attack by his forces outside Damascus last month.

Secretary of State John Kerry said Assad’s use of chemical weapons is “a line that anyone with a conscience should draw.” He said U.S. intelligence can prove Assad has used the weapons at least 11 times, and said North Korea and Iran were watching America closely.

“The world is wondering whether the United States of America is going to consent with silence,” Kerry said.

The Senate Foreign Relations Committee’s public meeting on the resolution was delayed, but Sen. Bob Corker of Tennessee, the panel’s senior Republican, said there was a “reasonable chance” of a consensus developing and senators proceeding to a vote Wednesday. The panel began the day with a resolution that would permit Obama to order a “limited and tailored” military mission against Syria, as long as it doesn’t exceed 90 days and involves no American troops on the ground for combat operations.

The committee’s vote would be the first in a series as the president’s request makes its way through Senate and House committees before coming before the two chambers for a final vote.

In an initial survey, the AP found 17 senators supporting or leaning in favor of the resolution approving a U.S. military response in Syria, and 14 against or leaning against it. There were 69 senators who either said they were undecided or whose views were unknown. Of those supporting or leaning in favor of the resolution, 13 were Democrats and four were Republicans. Those against or leaning against the resolution were 2 Democrats, 11 Republicans and one independent.

Sending a message to Congress from afar, Obama insisted there was far more than his own credibility at stake.

“I didn’t set a red line, the world set a red line,” he said. “The world set a red line when governments representing 98 percent of world population said the use of chemical weapons are abhorrent.” He added that “Congress set a red line when it ratified that treaty.”

To get a green light from Congress, Obama needs to persuade a Republican-dominated House that has opposed almost the entirety of Obama’s agenda since seizing the majority more than three years ago. Several conservative Republicans and some anti-war Democrats already have come out in opposition to Obama’s plans, even as Republican and Democratic House leaders gave their support to the president Tuesday.

House Foreign Affairs Committee Chairman Ed Royce, R-Cal., said Wednesday that while it would be important to deter the use of chemical weapons by Assad and others, there remained many unanswered questions, including what the U.S. would do if Assad retaliated to an American attack.

The committee’s top Democrat, Rep. Eliot Engel of New York, said he backed Obama’s call for military action against Syria but said it should be limited and not involve U.S. ground troops.

“If we do not pass the authorization measure, what message will Assad get,” said Engel. “What message will Iran receive, Hezbollah?”

The audience at the House Foreign Affairs Committee hearing included several people wearing signs opposing U.S. action against Syria and who had colored the palms of their hands red.

Kerry, Defense Secretary Chuck Hagel and the chairman of the Joint Chiefs of Staff, Gen. Martin Dempsey, made their arguments in public Wednesday before the House panel. They and other senior administration officials also provided classified briefings to the Senate Foreign Relations and Armed Services committees.

“They want to know whether or not America is going to rise to this moment,” said Kerry.

Hagel seconded Obama’s warnings about the potential scope of danger from failing to uphold international standards, saying “a refusal to act would undermine the credibility of America’s other security commitments – including the president’s commitment to prevent Iran from acquiring a nuclear weapon.”

Obama, who arrived in Stockholm early Wednesday, was hoping to maintain the momentum toward congressional approval that he has generated since Saturday, when he announced he would ask lawmakers to authorize what until then had appeared to be imminent military action against Syria.

Obama, who will travel from Sweden’s capital to an economic summit in St. Petersburg, Russia, on Thursday, has little international support for action right now. Among major allies, only France has offered publicly to join the United States in a strike, although President Francois Hollande says he’ll await Congress’ decision.

Obama had canceled a one-on-one meeting in Moscow with Russian President Vladimir Putin amid tensions over Russia’s granting of asylum to National Security Agency leaker Edward Snowden.

In a wide-ranging interview Tuesday with The Associated Press, Putin expressed hope that the two would have serious discussions about Syria and other issues in St. Petersburg. Putin has warned the West against taking one-sided action in Syria but also said Russia “doesn’t exclude” supporting a U.N. resolution on punitive military strikes if it is proved that Damascus used poison gas on its own people.

Obama, for his part, said that he is “always hopeful” that Putin will change his position on taking action in Syria.