in reply to Re^5: How to Post a HTTP Request for a JSON web page?
in thread How to Post a HTTP Request for a JSON web page?

I have tried given all the options like X-JNAP-Action, X-JNAP-Authorization, Content_type, charset to the headers but still it didn't help. I have no clue to fix this.

Did you try all of them together?

This is the reality of internet communication, you're talking with a black box, that black box is free to be as picky and stupid as it wants, if you don't talk to it in exactly the way it wants, it doesn't give you what you want

If you can use your browser like firefox, to successfully do what you want, you can try WWW::Mechanize::Firefox, its a perl modules that talks to a firefox plugin that drives firefox

  • Comment on Re^6: How to Post a HTTP Request for a JSON web page?