Testing API from the APIGEE spec is not working | Not sending Authorization Header

Authroization token with prefix "BearerToken" instead of "Bearer"

Hi All,I am not able to test API from the spec. Here is the steps and error .

- Uploaded the API spec API-1

- Implemented token generation api with client credentials

- API-1 is protected with CC token .

I went to spec - search for the api API-1

- Authorize with id and secret

- Log in success and closed the login pop up

- went to the API-1 operation and clicked execute .

However it is not sending Authorization header to API-1 and it is failing there

Not sure why it is not sending the Authorization header with token. however i am seeing genearate curl in smae spec window with BearerToken {token value}

curl -X POST "https://mydomain/resource" -H "accept: application/json" -H "Content-Type: application/json" -H "authorization: BearerToken IJpyvP52YEZ2bgUpsNwcGX9Dolzu" -d 

Thanks,

Patty

0 1 219
1 REPLY 1

Provide sample swagger specs, screenshots?