hi! you can get an idea of how to do it by looking into the code of our browser sdk, here you will find how to send the request and handle the response. Our client is using plain XMLHttpRequest object but you can easily write equivalent code using jquery.