Initial commit - Stand 26.04.2026
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import urllib.request
|
||||
import json
|
||||
|
||||
# Loesche den alten falschen Kredit
|
||||
kredit_id = 'c3342fa9-4499-48fe-bc25-592299d9c9cf'
|
||||
|
||||
url = f'http://localhost:3001/api/kredite/{kredit_id}'
|
||||
req = urllib.request.Request(url, method='DELETE')
|
||||
|
||||
try:
|
||||
with urllib.request.urlopen(req) as response:
|
||||
print(f'[OK] Alter Kredit geloescht: {response.read().decode()}')
|
||||
except Exception as e:
|
||||
print(f'[WARN] Konnte alten Kredit nicht loeschen: {e}')
|
||||
print('Versuche neuen Import trotzdem...')
|
||||
Reference in New Issue
Block a user