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 - Function overwritting -

php - Find a regex to take part of Email -