Skip to content

Commit

Permalink
Change Endpoint and Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
AmreshSinha committed Feb 8, 2022
1 parent 2897bd2 commit 5adaba7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ You can call it from anywhere whether its a normal HTTP GET call from browser or
+++ HTTP GET

```
http://localhost:3000/api?link=https://github.com
https://sshot.x-axis.me/api?link=https://github.com
```

+++ cURL

```bash
curl "http://localhost:3000/api?link=https://github.com" --output filename.png
curl "https://sshot.x-axis.me/api?link=https://github.com" --output filename.png
```

+++ Wget

```bash
wget "http://localhost:3000/api?link=https://github.com" -O filename.png
wget "https://sshot.x-axis.me/api?link=https://github.com" -O filename.png
```

+++
Expand All @@ -48,9 +48,9 @@ Cache will expire after 24 hours of inactivity :wastebasket:.

## API Parameters

Endpoint: ```http://localhost:3000/api?```
Endpoint: ```https://sshot.x-axis.me/api?```

Example: ```http://localhost:3000/api?link=https://google.com&device=tablet```
Example: ```https://sshot.x-axis.me/api?link=https://google.com&device=tablet```

| Parameter | Description |
| ----------- | ----------- |
Expand Down

0 comments on commit 5adaba7

Please sign in to comment.