We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
I need to connect in API with method POST and authorization token, but the response is problem with annonymous authentication.
I tried with M language:
let
content = "{""filtro_body"": {""assunto"": """", ""codigo"": """", ""nome_contato"": """", ""email_conferencia"": """", ""data_criacao"": """", ""data_solucao"": """", ""cliente_token"": """", ""cliente_id"": """", ""status"": """", ""tecnico"": """", ""cliente"": """", ""mesa_trabalho"": """", ""categoria_primaria"": """", ""categoria_secundaria"": """", ""total_avaliacao"": """", ""descricao_avaliacao"": """", ""setor"": """", ""tipo_ticket"": """", ""dispositivo"": """", ""possui_avaliacao"": true, ""prioridade"": 1, ""data_hora_criacao_inicial"": """", ""data_hora_criacao_final"": """" } }",
Source = Json.Document(Web.Contents("https://apiintegracao.milvus.com.br/api/chamado/listagem",
[Headers=[#"Authorization"="token",
#"apikey" = "KEY123",
#"filtro_body" = "{}",
#"ContentType"="application/json"],
ManualStatusHandling = {404, 400},
Content=Text.ToBinary(content)]))
in
Source
And I tried with Web Data Source, and not works:
The API link I'm trying to connect:
https://developers.milvus.com.br/#api-Chamado-listagemChamados
Anyone can help me, please?
Sorry about my English level.
Most likely you need to use "Bearer " & token
As you can probably appreciate it is nearly impossible to help with API queries without access to said API (which you may not be willing to provide for understandable reasons)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |