24 lines
911 B
Markdown
24 lines
911 B
Markdown
### Using curl to access a forwarded port
|
|
|
|
In a terminal on your local computer, enter:
|
|
|
|
```shell
|
|
curl ADDRESS -H "X-Github-Token: TOKEN"
|
|
```
|
|
|
|
Replace `ADDRESS` and `TOKEN` with the values you copied previously.
|
|
|
|
### Using Postman to access a forwarded port
|
|
|
|
1. Open Postman.
|
|
1. Create a new GET request.
|
|
1. Paste the address you copied previously as the request URL.
|
|
|
|

|
|
|
|
1. In the **Headers** tab, create a new entry where the key is "X-Github-Token" and the value is the `GITHUB_TOKEN` you copied previously.
|
|
|
|

|
|
|
|
1. Click **Send**.
|