Skip to content

Commit

Permalink
encode json payload
Browse files Browse the repository at this point in the history
  • Loading branch information
aakarim committed Feb 29, 2024
1 parent e39a465 commit 06fa7bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/includes/_linkedin.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,12 +497,13 @@ curl "https://api.lix-it.com/v1/li/recruiter/search/people" \
```

```python
import json
import requests
import urllib.parse

linkedin_url = "https://api.lix-it.com/v1/li/recruiter/search/people"

payload={
payload=json.dumps({
"start": 0,
"skills": [{
"text": "Machine Learning",
Expand All @@ -511,7 +512,7 @@ payload={
"required": false,
"selected": true
}]
}
})
headers = {
'Content-type': 'application/json',
'Authorization': lix_api_key
Expand Down

0 comments on commit 06fa7bd

Please sign in to comment.