Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Net::OAuth and POST data

by gryphon (Abbot)
on Apr 16, 2015 at 16:04 UTC ( #1123636=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^5: Net::OAuth and POST data
by Anonymous Monk on Apr 16, 2015 at 23:08 UTC
    That doesn't show what your program sends, how can you figure it out if you don't look at it raw?

      Greetings,

      I'm not following what you're asking. The line say $request->as_string; in my example dumps the request, which is a request that looks like the request in the API docs page request example. The problem is that Net::OAuth in its current use is signing the request without including the POSTDATA. I need to get Net::OAuth to include the POSTDATA for signing. My question is how to do that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2020-10-30 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (279 votes). Check out past polls.

    Notices?