Advertisement
kopyl

Untitled

Aug 12th, 2023
1,548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.62 KB | None | 0 0
  1. params = {
  2.     'action': 'verifyQuotaAndCreateV2',
  3.     'decorationId': 'com.linkedin.voyager.dash.deco.relationships.InvitationCreationResultWithInvitee-2',
  4. }
  5.  
  6. json_data = {
  7.     'invitee': {
  8.         'inviteeUnion': {
  9.             'memberProfile': 'urn:li:fsd_profile:ACoAAC7dfKwB45XKfm81_mumQHoCYvpgghHrxfQ',
  10.         },
  11.     },
  12.     'customMessage': 'Hey',
  13. }
  14.  
  15. response = requests.post(
  16.     'https://www.linkedin.com/voyager/api/voyagerRelationshipsDashMemberRelationships',
  17.     params=params,
  18.     cookies=cookies,
  19.     headers=headers,
  20.     json=json_data,
  21. )
  22.  
  23. print(response)
  24. print(json.dumps(response.json(), indent=4))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement