Re: REST API endpoint for accessing application logs

Marco Nicosia

You don't need to do the $(cf oauth-token | grep bearer) all within the
curl command.

Perhaps the auth issue will be more apparent if you break it down into each
individual step.

What happens if you run `cf oath-token` separately? Does the output look
OK? Do you see a line that contains bearer in it? What happens when you
manually put that line into the curl command?

-- Marco N.

On Thursday, October 15, 2015, Ponraj E <ponraj.e(a)> wrote:


Sorry for the spam.
Latest update : I am able to execute the command. But I dont have

I get the message.
You are not authorized. Error: Invalid authorization

Marco Nicosia
Product Manager
Pivotal Software, Inc.
c: 650-796-2948

Join to automatically receive all group messages.