Skip to content

Commit

Permalink
Updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Park committed Oct 5, 2016
1 parent 35549e4 commit 8ee741b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/relationships.curl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cache-Control: no-cache" \
-d '{"content": "The Ghostbusters movie was filmed in Boston."}' \
-d '{"content": "Bill Gates, Microsoft\u0027s former CEO, is a philanthropist."}' \
"https://api.rosette.com/rest/v1/relationships/"
2 changes: 1 addition & 1 deletion examples/syntax_dependencies.curl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cache-Control: no-cache" \
-d '{"content": "Sony Pictures is planning to shoot a good portion of the new Ghostbusters in Boston as well.", "genre": "social-media" }' \
-d '{"content": "Yoshinori Ohsumi, a Japanese cell biologist, was awarded the Nobel Prize in Physiology or Medicine on Monday.", "genre": "social-media" }' \
"https://api.rosette.com/rest/v1/syntax/dependencies"
2 changes: 1 addition & 1 deletion examples/text_embedding.curl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cache-Control: no-cache" \
-d '{"content": "Cambridge, Massachusetts" }' \
-d '{"content": null }' \
"https://api.rosette.com/rest/v1/text-embedding"
Empty file modified run-examples.sh
100644 → 100755
Empty file.

0 comments on commit 8ee741b

Please sign in to comment.