I'm trying to describe a situation where someone made me believe a story that was not true just to see my reaction. Something that in English I would say "He was only joking with me" or "he was fucking with me" (sorry, it's the best way I found to describe my intent in English).
How would one say that phrase in French in a form that the majority would understand the same.