javascript api call with bearer token

nodejs create blob from string