mgros...@gmail.com
unread,Jun 21, 2018, 5:19:17 PM6/21/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Spectrum Database API discussion group
I'm trying to set-up the basic initial connection to the database. When I send my Post, I receive an Error 415 response.
Content type (application/x-www-form-urlencoded) not supported. Expected one of: application/json, multipart/form-data, application/json-rpc, application/jsonrequest
Here is the Json that is being sent (other than my valid key value).
{
"jsonrpc": "2.0",
"method": "spectrum.paws.init",
"apiVersion": "v1explorer",
"params": {
"type": "INIT_REQ",
"version": "1.0",
"location": {
"point": {
"center": {"latitude": 37.0, "longitude": -101.3}
}
},
"key": "my key here"
},
"id": "AGI_REQ001"
}
Thanks,
MEG