[Python] Does the python requests library support query param with no value?

Discussão em 'Python' iniciado por Stack, Novembro 28, 2025.

  1. Stack

    Stack Membro Participativo

    I have a server side API with the following URL

    https://example.com/abc/JSONInterface.jsp?param1=param1_val&param2=param2_val&param3


    If you notice the param3 it has no value nor is it null/None

    As per this source such URLs are acceptable.

    Is it possible to call such an api with python requests library? https://requests.readthedocs.io/en/latest/user/quickstart/

    If not is there another library that can handle this?

    Continue reading...

Compartilhe esta Página