Thread:Project:Support desk/Bad or Invalid Token in Extension with API

I've been trying all day, and get nothing but invalid token. I'm trying to make a simple extension that moves a page on my site, but whether using curl or FauxRequest, I always get bad token response. Tried urlencoding, not encoding, escaping, no +/, etc, doesn't matter.

Code looks like this currently, with param1/2/3 coming from the parser function I'm creating.

Am I missing something in the code, or could I have a setting wrong somewhere?

Any help would be hugely appreciated!