mirror of
https://github.com/xivapi/ffxiv-datamining.git
synced 2026-07-24 02:49:10 +00:00
Update companion app user agent
This commit is contained in:
@@ -38,7 +38,7 @@ Once you have a valid token, you can provide it to any endpoint and everything w
|
||||
- `Content-Type` - `application/json;charset=utf-8`
|
||||
- `Accept` - `*/*'`
|
||||
- `domain-type` - `global`
|
||||
- `User-Agent` - `ffxivcomapp-e/1.0.0.5 CFNetwork/902.2 Darwin/17.7.0`
|
||||
- `User-Agent` - `ffxivcomapp-e/1.0.1.0 CFNetwork/974.2.1 Darwin/18.0.0`
|
||||
|
||||
**PHP code to query the API**
|
||||
|
||||
@@ -57,7 +57,7 @@ $headers = [
|
||||
'Content-Type' => 'application/json;charset=utf-8',
|
||||
'Accept' => '*/*',
|
||||
'domain-type' => 'global',
|
||||
'User-Agent' => 'ffxivcomapp-e/1.0.0.5 CFNetwork/902.2 Darwin/17.7.0',
|
||||
'User-Agent' => 'ffxivcomapp-e/1.0.1.0 CFNetwork/974.2.1 Darwin/18.0.0',
|
||||
];
|
||||
|
||||
$client = new Client([
|
||||
|
||||
Reference in New Issue
Block a user