Forum Discussion

scarracedo's avatar
scarracedo
New Member
2 years ago
Solved

Conectarse a una API con OAuth 1.0

Hola.

Estoy intentando conectarme a una api a través de un link.

La empresa que me proporciona el endpoint me entregó los siguientes datos:

-Atentación bajo estándar OAuth 1.0

-Clave Api

- Secreto

¿Qué debo incluir en los Parámetros de encabezado de solicitud HTTP para lograr una conexión exitosa?

 

Gracias de antemano.

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi scarracedo ,

     

    To connect to an API with OAuth 1.0 in Power BI, you will need to use the Web connector and provide the following information in the HTTP Request Header Parameters:

     


    - Authorization: This is the value that contains the OAuth signature, which is generated by using the API key, secret, and other parameters. You can use a tool like OAuth 1.0 Signature Generator to create the signature.
    - Content-Type: This is the value that specifies the format of the data you are sending or receiving. For example, if you are using JSON, you can set this to application/json.
    - Other parameters: Depending on the API you are using, you may need to include other parameters in the header, such as Accept, Date, or X-NetSuite-ScriptId. You can refer to the API documentation for more details.

     

    You can refer to the following documents that may be helpful to you:

    Using OAuth to connect to Power BI Report Server and SSRS - Power BI | Microsoft Learn

    How to connect to NetSuite from Microsoft Power Automate using OAuth 1.0

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi scarracedo ,

     

    To connect to an API with OAuth 1.0 in Power BI, you will need to use the Web connector and provide the following information in the HTTP Request Header Parameters:

     


    - Authorization: This is the value that contains the OAuth signature, which is generated by using the API key, secret, and other parameters. You can use a tool like OAuth 1.0 Signature Generator to create the signature.
    - Content-Type: This is the value that specifies the format of the data you are sending or receiving. For example, if you are using JSON, you can set this to application/json.
    - Other parameters: Depending on the API you are using, you may need to include other parameters in the header, such as Accept, Date, or X-NetSuite-ScriptId. You can refer to the API documentation for more details.

     

    You can refer to the following documents that may be helpful to you:

    Using OAuth to connect to Power BI Report Server and SSRS - Power BI | Microsoft Learn

    How to connect to NetSuite from Microsoft Power Automate using OAuth 1.0

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.