REST API: JavaScript and Java examples

Version 1
    Share This:

    Here are two examples of using the REST API. The zip file contains a JavaScript based example. Please check knowledge article KA426025 before trying this.


    The second one is a Java application. I also attached the 3rd party library I used to deal with the JSON data.


    The code is relatively simple, the main purpose is to provide an example of how the REST API can be used. If you have any comments or suggestions, please let me know.