Category : post

I’m trying to create a program that logs into disney+ and scrapes things off it after it’s logged in. However when attempting to login to the website I get this error: {"errors":[{"message":"Variable ‘$input’ expected value of type ‘LoginInput!’ but value is undefined. Reason: Expected non-null value, found null.","locations":[{"line":1,"column":16}]}]} The api that I’m trying to send ..

Read more

When i want to post request with python requests library, i get this error : The parameters dictionary contains a null entry for parameter ‘okres’ of non-nullable type ‘System.Int32’ for method ‘System.Web.Mvc.JsonResult Get(Int32)’ in ‘Vulcan.Efeb.Uczen.Web.Controllers.Api.Oceny.OcenyController’. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: ..

Read more

Web-site: https://resources.register-iri.com/CorpEntity/Corporate/Search I am trying imitate post request, to get the response with searching results. Tried fulli imitate headers and forms from chrome developer but doesn’t work. From python i got response with same page. I attached pictures what it should return from search. My code: import datetime import requests from bs4 import BeautifulSoup from ..

Read more

I currently build an API which has a user schema that needs an ID and a timestamp: def ts(): d = datetime.datetime.now() return datetime.datetime.timestamp(d)*1000 def generate_id(): first = ”.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(8)) second = ”.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(4)) third = ”.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(4)) fourth = ..

Read more