This commit is contained in:
Michele Artini 2023-11-23 11:48:59 +01:00
parent 55a1b5d2a8
commit ec94acd48a
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
VOC_URL="http://localhost:8888/proxy/byType/vocabulary_manager/api/import/vocabulary"
find ./voc_profiles/ -name "*.xml" -exec curl -X POST "$VOC_URL" -H "accept: */*" -H "Content-Type: text/plain" --data-binary @{} \;
find ./voc_profiles/ -name "*.xml" -exec curl -X POST "$VOC_URL" -H "accept: */*" -H "Content-Type: text/plain; charset=UTF-8" --data-binary @{} \;
#find ./DedupConfigurationDSResources/ -name "*.xml" -exec curl -X POST "http://localhost:8280/api/import/resource" -H "accept: */*" -H "Content-Type: text/plain" --data-binary @{} \;
#find ./DedupConfigurationDSResources/ -name "*.xml" -exec curl -X POST "http://localhost:8280/api/import/resource" -H "accept: */*" -H "Content-Type: text/plain; charset=UTF-8" --data-binary @{} \;