Einkaufsliste erstellen + ausgabe mit user acconts
This commit is contained in:
		
							
								
								
									
										12
									
								
								express-server/public/javascripts/ajax.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								express-server/public/javascripts/ajax.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
    //DELETE THIS
 | 
			
		||||
    $.ajax({
 | 
			
		||||
        type: "POST",
 | 
			
		||||
        url: "/shoppinglist",
 | 
			
		||||
        data: {
 | 
			
		||||
            name: "Name Test",
 | 
			
		||||
            description: "Description Test"
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
    // ---
 | 
			
		||||
});
 | 
			
		||||
		Reference in New Issue
	
	Block a user