Skip to content

Commit 415e340

Browse files
author
Chris Park
committed
Updated formatting with -H indent
1 parent 2d6623c commit 415e340

18 files changed

+106
-106
lines changed

examples/categories.curl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"contentUri": "http://www.onlocationvacations.com/2015/03/05/the-new-ghostbusters-movie-begins-filming-in-boston-in-june/" }' \
7-
"https://api.rosette.com/rest/v1/categories"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"contentUri": "http://www.onlocationvacations.com/2015/03/05/the-new-ghostbusters-movie-begins-filming-in-boston-in-june/" }' \
7+
"https://api.rosette.com/rest/v1/categories"

examples/entities.curl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "Bill Murray will appear in new Ghostbusters film: Dr. Peter Venkman was spotted filming a cameo in Boston this… http://dlvr.it/BnsFfS", "genre": "social-media" }' \
7-
"https://api.rosette.com/rest/v1/entities"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "Bill Murray will appear in new Ghostbusters film: Dr. Peter Venkman was spotted filming a cameo in Boston this… http://dlvr.it/BnsFfS", "genre": "social-media" }' \
7+
"https://api.rosette.com/rest/v1/entities"

examples/entities_linked.curl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "Last month director Paul Feig announced the movie will have an all-star female cast including Kristen Wiig, Melissa McCarthy, Leslie Jones and Kate McKinnon.", "genre": "social-media" }' \
7-
"https://api.rosette.com/rest/v1/entities/linked"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "Last month director Paul Feig announced the movie will have an all-star female cast including Kristen Wiig, Melissa McCarthy, Leslie Jones and Kate McKinnon.", "genre": "social-media" }' \
7+
"https://api.rosette.com/rest/v1/entities/linked"

examples/info.curl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
curl -X GET \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
"https://api.rosette.com/rest/v1/info/"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
"https://api.rosette.com/rest/v1/info/"

examples/language.curl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "Por favor Señorita, says the man." }' \
7-
"https://api.rosette.com/rest/v1/language"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "Por favor Señorita, says the man." }' \
7+
"https://api.rosette.com/rest/v1/language"

examples/morphology_complete.curl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "The quick brown fox jumped over the lazy dog. Yes he did."}' \
7-
"https://api.rosette.com/rest/v1/morphology/complete"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "The quick brown fox jumped over the lazy dog. Yes he did."}' \
7+
"https://api.rosette.com/rest/v1/morphology/complete"
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "Rechtsschutzversicherungsgesellschaften"}' \
7-
"https://api.rosette.com/rest/v1/morphology/compound-components"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "Rechtsschutzversicherungsgesellschaften"}' \
7+
"https://api.rosette.com/rest/v1/morphology/compound-components"
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "北京大学生物系主任办公室内部会议"}' \
7-
"https://api.rosette.com/rest/v1/morphology/han-readings"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "北京大学生物系主任办公室内部会议"}' \
7+
"https://api.rosette.com/rest/v1/morphology/han-readings"

examples/morphology_lemmas.curl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "The fact is that the geese just went back to get a rest and I\u0027m not banking on their return soon"}' \
7-
"https://api.rosette.com/rest/v1/morphology/lemmas"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "The fact is that the geese just went back to get a rest and I\u0027m not banking on their return soon"}' \
7+
"https://api.rosette.com/rest/v1/morphology/lemmas"
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
curl -X POST \
2-
-H "X-RosetteAPI-Key: your_api_key" \
3-
-H "Content-Type: application/json" \
4-
-H "Accept: application/json" \
5-
-H "Cache-Control: no-cache" \
6-
-d '{"content": "The fact is that the geese just went back to get a rest and I\u0027m not banking on their return soon"}' \
7-
"https://api.rosette.com/rest/v1/morphology/parts-of-speech"
2+
-H "X-RosetteAPI-Key: your_api_key" \
3+
-H "Content-Type: application/json" \
4+
-H "Accept: application/json" \
5+
-H "Cache-Control: no-cache" \
6+
-d '{"content": "The fact is that the geese just went back to get a rest and I\u0027m not banking on their return soon"}' \
7+
"https://api.rosette.com/rest/v1/morphology/parts-of-speech"

0 commit comments

Comments
 (0)