我们这里只演示jQuery请求:
(其他PHP、Java、Python等均可)
$.ajax({
                type: 'GET',
                url: 'https://api.soword.cn/garbage?key=MTU5NHDc5M45z5g2MjM4&name=电灯',
                dataType: 'json',
                success: function(data){
               console.log(data);
                },
                error: function (e) {
                alert("error");
                }
               });
