Google Groups Home
Help | Sign in
Message from discussion GET / POST
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Singpolyma  
View profile
 More options May 17, 5:34 pm
From: Singpolyma <singpol...@gmail.com>
Date: Sat, 17 May 2008 14:34:57 -0700 (PDT)
Local: Sat, May 17 2008 5:34 pm
Subject: Re: GET / POST

On May 17, 12:18 pm, Marc Worrell <ma...@pobox.com> wrote:

> Besides using the xoauth_body_signature method, the xoauth and oauth
> vars can just be part of the query string.

This is what I want to do, but the spec seems to suggest that if
request type is POST that using the query string is not allowed?  I'm
not sure I understand the xoauth_body_signature method - where does
the data go ?

> From the OAuth spec:

> 5.2.  Consumer Request Parameters

> OAuth Protocol Parameters are sent from the Consumer to the Service
> Provider in one of three methods, in order of decreasing preference:

> In the HTTP Authorization header as defined in OAuth HTTP
> Authorization Scheme.
> As the HTTP POST request body with a content-type of application/x-www-
> form-urlencoded.
> Added to the URLs in the query part (as defined by [RFC3986] section
> 3).

> - Marc Worrell

> On May 17, 4:16 pm, Singpolyma <singpol...@gmail.com> wrote:

> > I'm hacking at getting OAuth to work with AtomPub and can't get over a
> > snag : to add posts with AtomPub one must POST raw XML - which means
> > the query-varsPOST version of OAuth is out.  It is a POST request, so
> > the query-varsGET method is out, and I'm on shared hosting (read: php
> > as CGI) so Authorization headers are out.  What I'm wondering is if
> > there isn't some way to put the OAuth data in the GET string on a POST
> > request and not break the spec?  Making the code support it would be
> > trivial.

> > Thoughts?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google