diff --git a/examples/text_embedding.curl b/examples/text_embedding.curl new file mode 100644 index 0000000..2e24286 --- /dev/null +++ b/examples/text_embedding.curl @@ -0,0 +1,7 @@ +curl -X POST \ +-H "X-RosetteAPI-Key: your_api_key" \ +-H "Content-Type: application/json" \ +-H "Accept: application/json" \ +-H "Cache-Control: no-cache" \ +-d '{"content": "Cambridge, Massachusetts" }' \ +"https://api.rosette.com/rest/v1/text-curl"