diff --git a/Labfiles/04-use-a-container/rest-test.cmd b/Labfiles/04-use-a-container/rest-test.cmd index c684b90e..0f69256d 100644 --- a/Labfiles/04-use-a-container/rest-test.cmd +++ b/Labfiles/04-use-a-container/rest-test.cmd @@ -1 +1 @@ -curl POST "http://:5000/text/analytics/v3.0/languages" -H "Content-Type: application/json" --data-ascii "{'documents':[{'id':1,'text':'Hello world.'},{'id':2,'text':'Salut tout le monde.'}]}" \ No newline at end of file +curl -X POST "http://:5000/text/analytics/v3.0/languages" -H "Content-Type: application/json" --data-ascii "{'documents':[{'id':1,'text':'Hello world.'},{'id':2,'text':'Salut tout le monde.'}]}" diff --git a/Labfiles/04-use-a-container/rest-test.sh b/Labfiles/04-use-a-container/rest-test.sh index 62b2ce8f..797d54ce 100644 --- a/Labfiles/04-use-a-container/rest-test.sh +++ b/Labfiles/04-use-a-container/rest-test.sh @@ -1 +1 @@ -curl POST "http://:5000/text/analytics/v3.0/languages" -H "Content-Type: application/json" --data-ascii "{'documents':[{'id':1,'text':'Hello world.'},{'id':2,'text':'Salut tout le monde.'}]}" \ No newline at end of file +curl -X POST "http://:5000/text/analytics/v3.0/languages" -H "Content-Type: application/json" --data-ascii "{'documents':[{'id':1,'text':'Hello world.'},{'id':2,'text':'Salut tout le monde.'}]}"