Post Initial Request Issue

17 views
Skip to first unread message

mgros...@gmail.com

unread,
Jun 21, 2018, 5:19:17 PM6/21/18
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
Reply all
Reply to author
Forward
0 new messages