Im trying to verify a license for my product using jquery post method. When I type in the below code I get this error
Failed to load https://api.gumroad.com/v2/licenses/verify: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I tried using the using postman and I get a success response.
Here's the piece of code i used
$.post('https://api.gumroad.com/v2/licenses/verify', {product_permalink: "QPPED", license_key:"374655D6-5F404674-ACD67CA5-981BDFBD"},
function(returnedData){
console.log(returnedData);
});
and also the fiddle here