Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: LWP not POSTING (400 Bad Request)

by Gangabass (Vicar)
on Apr 03, 2016 at 10:15 UTC ( #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
Node Status?
node history
Node Type: note [id://1159416]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-07-17 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (353 votes). Check out past polls.

    Notices?