examples http requests with OAuth autorization

Dear experts,

We are looking examples how to utilize external web services (REST) with OAuth authorization.

If someone have the examples written on JS please share it will save a lot of time and effot for us.

If it impossible to achieve that also please share, but it shouldn't be a case.