function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
iRiteshiRitesh 

Not getting any response while using rest api

i write a visualforce page with code

{!$Api.Session_ID}

 

i copied the session Id.and used curl and run the command

 curl --header "Authorization : Bearer 00D90000000oX2G!AR8AQF4bfKL.F59U3YiDpt3WY5McM6lhzPhoQzTgkpuBUi1gbEMFXlWgCfq4QmufGh.Zw.VlGN4HCCG0S93qlcy671cQ6xcG" https://mydevorg-dev-ed--c.salesforce.com/services/data/v29.0/

and getting error bash:

!AR8AQF4bfKL.F59U3YiDpt3WY5McM6lhzPhoQzTgkpuBUi1gbEMFXlWgCfq4QmufGh.Zw.VlGN4HCCG0S93qlcy671cQ6xcG": event not found

then i used chrome extension Advanced rest client and send the request

GET https://mydevorg-dev-ed--c.salesforce.com/services/data/v29.0/

Request Header Authorization: Bearer 00D90000000oX2G!AR8AQF4bfKL.F59U3YiDpt3WY5McM6lhzPhoQzTgkpuBUi1gbEMFXlWgCfq4QmufGh.Zw.VlGN4HCCG0S93qlcy671cQ6xcG

and i am getting No response after one minute .can some body tell me why i am unable to call rest api ??