skip to Main Content

Google safe browsing API 403 error: The request is missing a valid API key – Jquery ajax

My ajax code is as follows: $("#my_form").submit(function(event){ event.preventDefault(); //prevent default action var api_url = "https://safebrowsing.googleapis.com/v4/threatMatches:find?" var key = 'A..............................s' api_url += key console.log(api_url); var payload = { "client":{ "clientId": "2815.........................apps.googleusercontent.com", "clientVersion": "1.0.0", }, "threatInfo": { "threatTypes": ["MALWARE", "SOCIAL_ENGINEERING"], "platformTypes": ["WINDOWS"],…

VIEW QUESTION

how to get id value from bootstrap 4 dropdown from table row? – Jquery ajax

PHP Code: <td> <div class="dropdown"> <button class="btn btn-warning dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> More </button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" id="demolist"> <a class="dropdown-item " id="achieve" value="<?php echo $value['user_login_id'] ?>">Achivements</a> <a class="dropdown-item" id="skill" value="<?php echo $value['user_login_id'] ?>">Skills</a> <!-- <a class="dropdown-item">Remove</a> <a class="dropdown-item">View…

VIEW QUESTION
Back To Top
Search