Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
xtsea authored Sep 15, 2024
1 parent 1832954 commit f04b1bd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/API endpoint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### API endpoint
1. Short url Generator for tracking IP
```python
import requests

headers = {
"x-akeno-key": "your api key"
}
payload = {
"original_url": "your link like facebook.com",
"user_email": "your email"
}
url = "https://akeno.randydev.my.id/api/shorten_url"
response = requests.post(url, json=payload, headers=headers).json()
print(response)
```

0 comments on commit f04b1bd

Please sign in to comment.