|
|
|
@ -89,11 +89,11 @@ Example curl calls
|
|
|
|
|
(assuming you deploy at https://www.example.com/structures/):
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
$ curl https://www.example.com/structures/strings_to_parse?string=velika%20miza
|
|
|
|
|
$ curl -X POST -F file=@/tmp/strings.txt https://proc1.cjvt.si/structures/strings_to_parse
|
|
|
|
|
$ curl -X POST -F file=@/tmp/parse.xml https://proc1.cjvt.si/structures/parse_to_dictionary
|
|
|
|
|
$ curl https://www.example.com/structures/strings_to_dictionary?string=velika%20miza
|
|
|
|
|
$ curl -X POST -F file=@/tmp/strings.txt https://proc1.cjvt.si/structures/strings_to_dictionary
|
|
|
|
|
$ curl -k https://proc1.cjvt.si/structures/strings_to_parse?string=velika%20miza
|
|
|
|
|
$ curl -k -X POST -F file=@/tmp/strings.txt https://proc1.cjvt.si/structures/strings_to_parse
|
|
|
|
|
$ curl -k -X POST -F file=@/tmp/parse.xml https://proc1.cjvt.si/structures/parse_to_dictionary
|
|
|
|
|
$ curl -k https://proc1.cjvt.si/structures/strings_to_dictionary?string=velika%20miza
|
|
|
|
|
$ curl -k -X POST -F file=@/tmp/strings.txt https://proc1.cjvt.si/structures/strings_to_dictionary
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Note
|
|
|
|
|