Skip to content

Instantly share code, notes, and snippets.

View israelfaria's full-sized avatar
🏠
Working from home

Israel Rodrigo Faria israelfaria

🏠
Working from home
View GitHub Profile
<html>
<head>
<title>API Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
var accessToken = "<your agent's client access token>";
var baseUrl = "https://api.api.ai/v1/";