Unable to submit parameters via POST (REST API)
Wed, 11/14/2012 - 05:13
Hi,
I've been working on automating some bucket provisioning, but I can't seem to be able to get any POST requests working against the admin REST API.
GET requests work fine, but whenever I make a POST request the Couchbase server seems to be ignoring my parameters.
In the case of creating a bucket, no matter what I do I get the following:
{
"errors": {
"authType": "invalid authType"
},
"summaries": {
"ramSummary": {
"total": 1073741824,
"otherBuckets": 268435456,
"nodesCount": 1,
"perNodeMegs": 0,
"thisAlloc": 0,
"thisUsed": 0,
"free": 805306368
},
"hddSummary": {
"total": 0,
"otherData": 0,
"otherBuckets": 15173267,
"thisUsed": 0,
"free": -15173267
}
}
}I'm using the Postman chrome extension to test.
Any help would be greatly appreciated.
Thanks,
Ali
In case anyone encounters this, the solution was to explicitly specify the request as "Multipart".
Ali