Sign in

Add friend

documented

Send a friend request to another member.

POST /xn/rest/{network}/1.0/FriendFriendno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://external.ningapis.com/xn/rest/{{$network}}/1.0/Friend?xn_pretty=true" \
  -X POST \
  -H "Authorization: OAuth oauth_consumer_key=\"{{NING_OAUTH_CONSUMER_KEY}}\",oauth_token=\"{{NING_OAUTH_TOKEN}}\",oauth_signature_method=\"PLAINTEXT\",oauth_signature=\"{{NING_OAUTH_SIGNATURE}}\",oauth_timestamp=\"{{NING_OAUTH_TIMESTAMP}}\",oauth_nonce=\"{{NING_OAUTH_NONCE}}\",oauth_version=\"1.0\"" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{\"friend\": \"{{$friend}}\", \"state\": \"pending\"}'
Add friend · Ning · OpenIntegrations