Exactly this!
Spring pistols generally cant be "rested", but you can rest your arms, being careful to have your wrists and hands free.
Then you need to develop a consistent soft hold that lets the gun recoil naturally. It it just like with spring rifles, only more critical.