Python Forum
Message not supported for all requests in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Message not supported for all requests in python
#10
(Jul-20-2017, 04:59 AM)Prabakaran141 Wrote: Yes In browser its working fine and I'm getting the response as 200.

That means you can do it, too, but the way you're trying to do it isn't the same as whatever the browser is doing. So open the inspector (for the good browsers, that's F12 or ctrl+j), and watch the network tab when you do it. Once you see the url, http method, and payload, try to recreate it in an external program such as fiddler. Once you have it working THERE, it should be simple for you to recreate it using requests.
Reply


Messages In This Thread
RE: Message not supported for all requests in python - by nilamo - Jul-20-2017, 01:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting "SSL client not supported by this Python installation" error prabirsarkar 0 969 Mar-13-2023, 05:01 PM
Last Post: prabirsarkar
  python requests library .JSON() error mHosseinDS86 6 3,453 Dec-19-2022, 08:28 PM
Last Post: deanhystad
  Python requests oauth2 access token herobpv 6 3,940 Sep-27-2021, 06:54 PM
Last Post: herobpv
  Python Requests SSL Aussie 0 2,003 Jan-07-2021, 02:09 AM
Last Post: Aussie
  Python Requests Aussie 2 2,753 Dec-23-2020, 03:24 AM
Last Post: Aussie
  Python Requests package: Handling xml response soumyarani 1 2,175 Sep-14-2020, 11:41 AM
Last Post: buran
  Python API and requests deep_logic 9 4,342 Jul-29-2020, 03:47 PM
Last Post: ndc85430
  How to save Python Requests data sent to server? RedLeonard 5 4,995 Jul-05-2020, 10:33 AM
Last Post: RedLeonard
  How to do the same as python -m requests.certs inside script? geekgeek 2 2,282 Feb-27-2020, 07:11 AM
Last Post: buran
  How to get valid error message while invoking REST API through Python gollupraveen 0 2,076 Oct-04-2019, 07:15 PM
Last Post: gollupraveen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020