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
Post a Comment