Forum Discussion
hi ayshe,
I treied with "http://comity.stage.lithium.com/auth/v1/accessToken", still Im getting HTML page and not JSON data.
vaishnavi I think you misread my URL or mistyped/miscopied yours?
- OlivierS10 years agoLithium Alumni (Retired)
vaishnavi if you want the response in JSON, you usually have to add:
?restapi.response_format=json
Have a go and let us know.
- vaishnavi10 years agoExpert
ayshe - oops, you are right. I tried with incorrect URL.
I corrected the URL and tried POST calls (with required headers and parameters) and response type mentioned in OlivierS comment.
1. URL : https://api.lithium.com
response : 500 Internal server error
2. URL : https://api.stage.lithium.com
response : 500 Internal server error
I am not sure why I am getting error in response.
- fuenteso10 years agoLeader
Did you ever find out how to make the call? I'm having the same issue and it is so frustrating :(