Skip to content

Commit

Permalink
using POST a JSON document to synch
Browse files Browse the repository at this point in the history
  • Loading branch information
thr authored and thr committed Dec 12, 2023
1 parent 3ff3b85 commit fc513a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
for dt in ${pusdDTs};
do
echo Pushing [${dt}] ...;
curl -s -u "Administrator:${ADMIN_PASSWORD}" -H "Content-Type: application/json" "${DEPLOYMENT}:5555/invoke/pub.publish:syncToProvider?documentTypes[0]=${dt}" | jq '.';
curl -X POST -s -u "Administrator:${ADMIN_PASSWORD}" -H "Content-Type: application/json" "${DEPLOYMENT}:5555/invoke/pub.publish:syncToProvider" -d "{ \"documentTypes\": [\"${dt}\"] }" | jq '.';
done;

0 comments on commit fc513a8

Please sign in to comment.