Created
October 21, 2023 20:22
-
-
Save luizmarcus/4dd280090ca002e92c136f2f0bb2b84e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.openai.com/v1/moderations \ | |
-X POST \ | |
-H "Content-Type: application/json" \ | |
-H "Authorization: Bearer $OPENAI_API_KEY" \ | |
-d '{"input": "Sample text goes here"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment