node.js - How to execute curl operation using request module with authorizaion: bearer token? -


i using cloud foundry bluemix app creation in curl operations having authorization:bearer xxxxx token.
how can include authorization: bearer token in request module?

the plain open source clound foundry client able curl api this:

$ cf curl -x https://.../v2/...

for instance:

$ cf curl -x /v2/apps


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - IIFE: var vs this - is there any difference? -

ios - Google API (YouTube search): Bad network response -