POST https://www.googleapis.com/spectrum/v1explorer/paws/init?key={YOUR_API_KEY}
Content-Type: application/json
X-JavaScript-User-Agent: Google APIs Explorer {
"jsonrpc": "2.0",
"method": "spectrum.paws.getSpectrum",
"apiVersion": "v1explorer",
"params": {
"type": "INIT_REQ",
"version": "1.0",
"key": "AIzaSyCv8-dTdPjVFL0kmbxj9VovUfuWxfscuwY",
"deviceDesc": {
"serialNumber": "your_serial_number",
"fccId": "OPS13",
"fccTvbdDeviceType": "MODE_1"
},
"location": {
"point": {
"center": {
"latitude": 37,
"longitude": -101.3
}
}
}
},
"id": "any_string"
}
Error Response:
403 Forbidden
- Show headers -
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
],
"code": 403,
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
}
Thanks and regards,
Kunal Sankhe