-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Analytics, Custom Metadata, Database, IQ Integration
-
Labels:None
-
Environment:Mac OS X
curl POST command error, where 'nop006.scmf' is a binary file.
I put the "file" before the "filename" but I am not sure about the syntax ???
Anyone could help ?
Thanks!
curl -u admin:admin123 -X POST -H "Content-Type: application/json" -d \
'{
"r": "RSP", \
"g": "CAS-82", \
"a":"nop006.scmf", \
"v":"1.0", \
"p":"scmf", \
"c":"scmf", \
"e":"scmf", \
[
], \
"filename":"nop006.scmf"} \
}' \
http://trek:8081/nexus/service/local/artifact/maven/content