in reply to Re: 400 bad request curl post
in thread 400 bad request curl post

thanks Corion

Replies are listed 'Best First'.
Re^3: 400 bad request curl post
by bigup401 (Pilgrim) on Dec 06, 2018 at 11:50 UTC
    i get same error. when i run the code. Error POSTing https://api.blockchain.info/v2/receive/balance_update: Bad Request at 11.pl line 20.

      If the remote side says Bad Request, then either something is different between the Curl invocation and the Perl invocation, or maybe the Curl invocation fails as well.

      Your next task is to compare what Perl sends with what Curl sends and to edit your code to remove the differences. See LWP::UserAgent::ConsoleLogger and curl -s -v.