Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: LWP not POSTING (400 Bad Request)

by Gangabass (Vicar)
on Apr 03, 2016 at 10:15 UTC ( [id://1159416]=note: print w/replies, xml ) Need Help??


in reply to LWP not POSTING (400 Bad Request)

Can you post Paw's Headers and Content here?

The first thing is wrong that you're posting to http://photos.mysite.com/api/1/upload/ in your code but to the

http://photos.mysite.com/api/1/upload/?key +=xxxx&format=json&source=http%3A%2F%2Fphotos.mysite.com%2F128.jpg
from the Paw...

But the most interesting thing will be POST content from the Paw...

Replies are listed 'Best First'.
Re^2: LWP not POSTING (400 Bad Request)
by HollyWould (Initiate) on Apr 03, 2016 at 11:29 UTC
    Hi Gangabass - Thanks for the reply. Yes, the URI is incorrect. This has been corrected. Thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found