Redmine #1835: made example curl calls realistic proc1 examples

This commit is contained in:
Cyprian Laskowski 2021-03-25 16:44:49 +01:00
parent 37a10ae703
commit e5b06e0ce8

View File

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