Sign InSign Up

Rocketbot Forum

Rocketbot Forum Logo Rocketbot Forum Logo

Rocketbot Forum Navigation

  • Academy Rocketbot
  • Tutorials
  • Documentación
Search
Ask A Question

Mobile menu

Close
  • Home
  • Popular
  • Categories
  • Tags
  • Questions
    • New Questions
    • Most voted
    • Most visited
    • Most Responded
  • Academy Rocketbot
  • Tutorials
  • Documentación

Jfelpo24

Ask Jfelpo24
0 Followers
1 Question
  • About
  • Questions
  • Questions
  • Questions
  • Questions
  • Polls
  • Polls
  • Polls
  • Polls
  • Answers
  • Answers
  • Answers
  • Answers
  • Best Answers
  • Best Answers
  • Best Answers
  • Best Answers
  • Followed
  • Followed
  • Followed
  • Followed
  • Favorites
  • Favorites
  • Favorites
  • Favorites
  • Groups
  • Groups
  • Groups
  • Groups
  1. Asked: October 3, 2024In: Orquestador

    Conexion API Orquestador

    Jfelpo24
    Jfelpo24
    Replied to answer on October 7, 2024 at 1:06 am

    La imagen no es clara, pero el script es el siguiente: import requests url = "https://www.orchestrator.myrb.io/dev/api/project/list" payload = {} headers = {   'Authorization': 'Bearer <API>' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text) El erroRead more

    La imagen no es clara, pero el script es el siguiente:

    import requests
    url = «https://www.orchestrator.myrb.io/dev/api/project/list»
    payload = {}
    headers = {
      ‘Authorization’: ‘Bearer <API>’
    }
    response = requests.request(«POST», url, headers=headers, data=payload)
    print(response.text)
    El error es este:

    Traceback (most recent call last):
    File «c:\Users\julia\OneDrive\Escritorio\prueba_api.py», line 10, in <module>
    response = requests.request(«POST», url, headers=headers, data=payload)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File «C:\Users\julia\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\api.py», line 59, in request
    return session.request(method=method, url=url, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File «C:\Users\julia\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py», line 589, in request
    resp = self.send(prep, **send_kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File «C:\Users\julia\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\sessions.py», line 703, in send
    r = adapter.send(request, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File «C:\Users\julia\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\adapters.py», line 700, in send
    raise ConnectionError(e, request=request)
    requests.exceptions.ConnectionError: HTTPSConnectionPool(host=’www.orchestrator.myrb.io’, port=443): Max retries exceeded with url: /dev/api/project/list (Caused by NameResolutionError(«<urllib3.connection.HTTPSConnection object at 0x00000291EF3E8110>: Failed to resolve ‘www.orchestrator.myrb.io’ ([Errno 11001] getaddrinfo failed)»))
     

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: October 3, 2024In: Orquestador

    Conexion API Orquestador

    Jfelpo24
    Jfelpo24
    Replied to answer on October 7, 2024 at 1:04 am

    Hola, estoy usando el siguiente script, cambiando el <API> por la API Key del usuario del Orquestador. Y me sale el siguiente error:  

    Hola, estoy usando el siguiente script, cambiando el <API> por la API Key del usuario del Orquestador.

    Y me sale el siguiente error:

     

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Ask A Question

Stats

  • Questions : 1k
  • Answers : 2k
  • Posts : 0
  • Comments : 0
  • Best Answers : 163
  • Users : 5k
  • Popular
  • Comments
  • Tags

Users

Explore

  • Home
  • Popular
  • Categories
  • Tags
  • Questions
    • New Questions
    • Most voted
    • Most visited
    • Most Responded

Footer

rocketbot white

Rocketbot SpA | Todos los derechos reservados 2018 - 2020

© 2020 Discy. All Rights Reserved
With Love by 2code.

en_US
es_ES en_US