Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6FAD10445 for ; Thu, 20 Feb 2014 06:07:29 +0000 (UTC) Received: (qmail 60760 invoked by uid 500); 20 Feb 2014 06:07:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60489 invoked by uid 500); 20 Feb 2014 06:07:26 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 60469 invoked by uid 99); 20 Feb 2014 06:07:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 06:07:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of myalphabetfamily@gmail.com designates 209.85.212.170 as permitted sender) Received: from [209.85.212.170] (HELO mail-wi0-f170.google.com) (209.85.212.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 06:07:17 +0000 Received: by mail-wi0-f170.google.com with SMTP id hi5so259696wib.5 for ; Wed, 19 Feb 2014 22:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RnhiBQejRcXTgJloGxdzYCL2dBQ/e2T7v/G45OGsMWA=; b=hK7j4WG/3RUA5PL0FXRKgi3KDOgc7kK8KrIVQayRpO53UeU59lJg5JE7aGKsBU5dW5 VTyOjBCcFoEUpReR8DENr/xTpEcc9AxsqWWzC7Xmv8jsslC9VaFT4OofwHkltQ37Dh0n 7b7yVXdimaELJPxj/JhLJ+bjzEW+STvF5Iuf7MN+YrFbfPY8fkhEgudGg0e34Rg8gXWP aoc0ajMH4iu4NQ20OxG9j7AmdzQoxHpIJvHunR4PQyYK/jCIBpzzwgQzFqWWePE5jn4w cWYIKYyuAOksJdcdZSPFa8Cix5WKhpCl6YIRmgR/bfBaHscwS/LCgS6bYV/jdSZBhOqL 1PrQ== MIME-Version: 1.0 X-Received: by 10.194.62.243 with SMTP id b19mr6072064wjs.63.1392876417758; Wed, 19 Feb 2014 22:06:57 -0800 (PST) Received: by 10.194.37.234 with HTTP; Wed, 19 Feb 2014 22:06:57 -0800 (PST) Date: Wed, 19 Feb 2014 23:06:57 -0700 Message-ID: Subject: A POST from the browser From: Ben Johnson To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=047d7b86d6be18ba3e04f2d050d2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b86d6be18ba3e04f2d050d2 Content-Type: text/plain; charset=ISO-8859-1 Hello, I am new to couchdB and am exploring it as a way to store some data. I would like to store data that originates from the browser into my database. It seems from all forms of ajax calls I have tried it posts the OPTIONS method before the POST to test the waters. It looks like couch never accepts this method because it is not allowed (405). What is the simplest way to POST docs to the database from the browser using ajax? Can it handle the OPTIONS method? Thanks for your help, Ben --047d7b86d6be18ba3e04f2d050d2--