Python Forum
Works with Curl. Can't get it to work in Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Works with Curl. Can't get it to work in Python
#4
That did indeed work. Thank you very much. Can you please tell me why.

I had to remove this line

result = request_result.json()
as I assume I am no longer getting json back. I need to get the HTML out of the response.
Reply


Messages In This Thread
RE: Works with Curl. Can't get it to work in Python - by bazcurtis - May-07-2020, 07:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Code used to work 100%, now sometimes works! muzicman0 5 1,567 Jan-13-2023, 05:09 PM
Last Post: muzicman0
  How do loop over curl and 'put' different values in API call? onenessboy 0 1,283 Jun-05-2022, 05:24 AM
Last Post: onenessboy
  For Loop Works Fine But Append For Pandas Doesn't Work knight2000 2 2,121 Dec-18-2021, 02:38 AM
Last Post: knight2000
  how can I correct the Bad Request error on my curl request tomtom 8 5,225 Oct-03-2021, 06:32 AM
Last Post: tomtom
  Python Regular expression, small sample works but not on file Acernz 5 3,033 Jun-09-2021, 08:27 PM
Last Post: bowlofred
  "Automate the Boring Stuff with Python" creating a path works but only for CMD promt Milos 2 2,939 Nov-28-2020, 01:08 PM
Last Post: Larz60+
  New to Python, How does this lambda expression works? Joshh_33 2 2,104 Mar-26-2020, 03:32 PM
Last Post: Joshh_33
  curl and jq on python enigma619 3 3,885 Feb-29-2020, 05:54 AM
Last Post: ndc85430
  time.sleep works erratically, a bug in Python? stipcevic 2 3,974 Jan-21-2020, 09:38 PM
Last Post: Marbelous
  How inheritance works in Python ARV 1 1,882 Oct-03-2019, 03:06 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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