concordia-server/tests/testCurl.sh

6 lines
278 B
Bash
Raw Normal View History

2015-06-09 13:01:42 +02:00
#!/bin/sh
2015-07-31 14:11:13 +02:00
#curl -H "Content-Type: application/json" -X POST -d '{"operation":"addSentence", "sentence":"zupełnie nowe zdanie"}' http://localhost
curl -H "Content-Type: application/json" -X POST -d '{"operation":"simpleSearch", "sentence":"zupełnie snowe"}' http://localhost
2015-06-09 13:01:42 +02:00