Code Monkey home page Code Monkey logo

Comments (5)

mrjones avatar mrjones commented on July 19, 2024

Thanks so much for the report!

The brief summary is that PostForm method wasn't correctly signing requests.

I've fixed the signing, and also just merged Post() and PostForm():

  • PostForm is just a wrapper for Post can be deleted soon.
  • POST now just passes the key-value pairs in the body (x/application-www-form-urlencoded), and I've removed the option to pass data in the URL for a POST since in retrospect that seems wrong (GET will still put ket-values in the URL).

I've also fixed the twitter example (the posting is now controlled by a flag rather than being commented out).

(cc: @ranveerkunal Could you confirm that the new version of Post() works for you whenever you have a minute? Thanks!)

I'm going to close this, but definitely feel free to re-open it or file a new one if anything isn't working!

  • Matt

from oauth.

robfig avatar robfig commented on July 19, 2024

Works, thank you!

The only note is that right now you are sending the consumerKey as a parameter in PostForm, but that is not necessary.

from oauth.

mrjones avatar mrjones commented on July 19, 2024

Indeed, you're right. Fixed up the example.

from oauth.

ranveerkunal avatar ranveerkunal commented on July 19, 2024

I am also good !
@rob Are you the same Rob I know?

On Mon, Nov 5, 2012 at 1:10 AM, Matt Jones [email protected] wrote:

Indeed, you're right. Fixed up the example.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-10059534.

Ranveer Kunal | Software Engineer | [email protected] | +55 31 93135963

from oauth.

robfig avatar robfig commented on July 19, 2024

Hey, yea, how's it going :~)

from oauth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.