What is the exact use of As well.

As well:
I sent a question to my friend JOHN.
He (eg: John) responded to that.
When I am telling this to another person, “I have sent my question to John. He responsded as well”.
Is this the correct usage?
as well= also
EG: “I asked him for money. He gave some money as well” - Is this correct?
Otherwise, please give an example.

.
‘As well’ seems odd and unnecessary in your examples. Use ‘as well’ as an emphasized ‘and’.
.