Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url: 'https://api.partners.bazoeka.com/latest/api/postcodecheck?&format=json',
- method: 'GET',
- crossDomain: true,
- beforeSend: function (xhr) {
- xhr.setRequestHeader('username:myUsername', 'password:myPassword','apikey:apiKey');
- }
- }).done(function () {
- console.log("connected!");
- //do stuff
- });
- curl -H"username:myUsername" -H"password:myPassword" -H "apikey:apiKey" "https://api.partners.bazoeka.com/latest/api/postcodecheck?&format=json&postcode=1010AA&housenr=1"
Add Comment
Please, Sign In to add comment