Skip to content

Instantly share code, notes, and snippets.

@kenzo0107
Created June 24, 2024 01:31
Show Gist options
  • Save kenzo0107/c14af761680ca725e807d29bc090d3bd to your computer and use it in GitHub Desktop.
Save kenzo0107/c14af761680ca725e807d29bc090d3bd to your computer and use it in GitHub Desktop.
#!/bin/sh
curl -X POST \
-H "Authorization: Bearer $PAT" \
-H "Content-Type: application/json" \
-d '{
"query": "mutation { changeUserStatus(input: { emoji: \"\", message: \"\" }) { status { emoji message } } }"
}' \
https://api.github.com/graphql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment