# aws-waf-token

{% hint style="info" %}
When the aws-waf-token field appears in the cookie, call the API through the link address where the post useragent and captcha are located to obtain the cookie named aws-waf-token.
{% endhint %}

> #### Price Plan <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center"><p><strong>Pay Per Use</strong></p><p><strong>(One request)</strong></p></td><td align="center"><mark style="color:orange;"><strong>$0.01</strong></mark></td></tr></tbody></table>

> #### **Request URL** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

[http://api.clearcaptcha.com/captcha/aws\_waf](http://api.clearcaptcha.com/captcha/aws_waf)

> #### **Method** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

<mark style="color:green;">**POST            Content-Type: application/json**</mark>

> #### **Request Parameter** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

<table data-full-width="false"><thead><tr><th width="123">Key</th><th width="83">Type</th><th width="100">Required</th><th>Remark</th><th>Eg.</th></tr></thead><tbody><tr><td>token</td><td>String</td><td>yes</td><td>Authorize After Purchase</td><td>test</td></tr><tr><td>captcha_url</td><td>String</td><td>yes</td><td>Show link address of captcha</td><td><a href="https://efw47fpad9.execute-api.us-east-1.amazonaws.com/latest">https://efw47fpad9.execute-api.us-east-1.amazonaws.com/latest</a></td></tr><tr><td>user_agent</td><td>String</td><td>yes</td><td>browser's useragent</td><td>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36</td></tr></tbody></table>

> #### **Request eg.** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

{% code overflow="wrap" %}
```json
{
    "token": "test",
    "captcha_url": "https://efw47fpad9.execute-api.us-east-1.amazonaws.com/latest",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
}
```
{% endcode %}

> #### **Response** **Parameter** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

| Key                  | Type    | Remark |
| -------------------- | ------- | ------ |
| success              | Boolean |        |
| message              | String  |        |
| data                 | Object  |        |
| data\[aws-waf-token] | String  |        |

> #### **Response eg.** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

```json
{
    "success": true, 
    "message": "success", 
    "data": 
    {
       "aws-waf-token": "09fac9f2-fae9-4222-8275-15ba344abde8:BgoAkDJQkjkUAAAA:djZQ0nBvZSMShiUWa4T7JNZoYFNpD4YwnO1qcxNEU8oyBWIzAKdYi29p31R4aIGFNHt/4vBkITkZJsdxTfFCl1WpEo5NGuUaac4qW7QPWsDgNJGev63JL8WA62I07tvt6PQpKd6PnnhA+IQddUgxCNUHw+gX3ZyFtzFF585mC6y31jFLZI+CP5fDNFcX+dHB7s08gUrsjVp6jFW94scPCIR1YsOQDN5voOFva2R3W/0+zXojnzwyUw=="
    } 
 }
```

***
