Skip to content

Commit 6675619

Browse files
authored
Merge pull request #6 from cp2boston/develop
Added text_embedding example
2 parents 246d794 + bbe8cf4 commit 6675619

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/text_embedding.curl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
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": "Cambridge, Massachusetts" }' \
7+
"https://api.rosette.com/rest/v1/text-curl"

0 commit comments

Comments
 (0)