0
I have zero experience in API, JSON, Ajax, Curl, the most I learned in college was basic HTML, CSS, JS and PHP, I’ve killed myself searching and watching video, but with no one with experience to assist it is difficult, I’m almost giving up, I need some guidance.
I’m in a project where I have to take data from a site through their API and play in an HTML/JS application, following the steps of the API documentation (https://developer.zendesk.com/rest_api_docs/chat/apis#real-time-chat-api), I was able to pull the data through Curl, which generates a JSON for me, now I need to know how to make this request directly in this HTML/JS application, so that the data appears directly in the browser.
Anyone who can help, I really appreciate.
Edit: I used this Curl command
curl https://rtm.zopim.com/stream/chats/active_chats \
-H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxx"
Can you [Edit] the question and add the Curl you used? Do you know about asynchronous HTTP requests?
– Woss
Very little, all I know about these subjects (Curl, Ajax, JSON, etc) has been watching videos, seeing posts on forums
– Ayrton Aoki