Changeset 37219 for gs3-installations
- Timestamp:
- 2023-01-30T15:24:02+13:00 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/test-suite/trunk/sites/test-suite/collect/filelevel-docver--paged-image/_TEST-STEP02--GET-AND-SET-ASSOCFILES.sh
r37217 r37219 96 96 echo "" 97 97 98 echo "========" 99 echo "Uploading (URLencoded POST) replacement gsdlassocfile file mydata.json using 'filedata=' for $doc_id:" 100 echo "--------" 101 #echo curl -X POST -F "a=set-archives-assocfile" \ 102 # -F "site=$site" -F "c=$col" -F "d=$doc_id" \ 103 # -F "mydata.json" \ 104 # -F 'filedata="{\"test_val\": 1, \"test_bool\": true, \"test_str\": \"a val\", \"test_array\": [ 1, 2, 3 ] }"' \ 105 # $gs_context_url/cgi-bin/metadata-server.pl 98 106 107 echo curl -d "a=set-archives-assocfile&site=$site&c=$col&d=$doc_id&assocname=myfile.json" \ 108 -d 'filedata={"test_val": 1, "test_bool": true, "test_str": "a val", "test_array": [ 1, 2, 3 ] }' \ 109 $gs_context_url/cgi-bin/metadata-server.pl 110 111 echo "" 112 curl -s -d "a=set-archives-assocfile&site=$site&c=$col&d=$doc_id&assocname=myfile.json" \ 113 -d 'filedata={"test_val": 1, "test_bool": true, "test_str": "a val", "test_array": [ 1, 2, 3 ] }' \ 114 $gs_context_url/cgi-bin/metadata-server.pl
Note:
See TracChangeset
for help on using the changeset viewer.