Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Net::OAuth and POST data

by gryphon (Abbot)
on Apr 15, 2015 at 17:01 UTC ( [id://1123531]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::OAuth and POST data
in thread Net::OAuth and POST data

Greetings,

The POSTDATA is the XML content that's stored in $content. I tried Net::OAuth::Simple, but it turns out it really doesn't save all that much typing, honestly, and it doesn't solve my signing of POSTDATA problem.

Replies are listed 'Best First'.
Re^3: Net::OAuth and POST data
by Anonymous Monk on Apr 15, 2015 at 23:16 UTC
    so what does your post request actually send ?

      Greetings,

      Take a look at the "Request Example" section of the API documentation. That request example is what I'm sending on the POST. However, the problem is that the POSTDATA is not getting signed by Net::OAuth, so the OAuth signature fails. I can construct the request just fine, but I can't seem to figure out how to give Net::OAuth the POSTDATA so it can sign the request properly.

        That doesn't show what your program sends, how can you figure it out if you don't look at it raw?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1123531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (None)
    As of 2024-04-25 00:23 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found