Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Unable to submit parameters via POST (REST API)

1 reply [Last post]
  • Login or register to post comments
Wed, 11/14/2012 - 05:13
ahamidi
Offline
Joined: 11/14/2012
Groups: None

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

Top
  • Login or register to post comments
Wed, 11/14/2012 - 05:39
ahamidi
Offline
Joined: 11/14/2012
Groups: None

In case anyone encounters this, the solution was to explicitly specify the request as "Multipart".

Ali

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker