Forum Discussion
thialessandro
3 years agoFrequent Visitor
API Connection
Hello, I need to connect in API with method POST and authorization token, but the response is 404 or 400. I tried with M language: let
Json = Json.FromValue({[idType= "Authorization", idVal...
thialessandro
3 years agoFrequent Visitor
I tried, but not works too.
Now, I'm trying this way:
let
content = "{""filtro_body"": ""123""}",
Source = Json.Document(Web.Contents("https://apiintegracao.milvus.com.br/api/chamado/listagem",
[Headers=[#"Authorization"="token",
#"apikey" = "****",
#"filtro_body" = "{}",
#"ContentType"="application/json"],
ManualStatusHandling = {404, 400},
Content=Text.ToBinary(content)]))
in
Source
And not works too, but show me another message "Parameter not informed in the request body => {filtro_body}"
I added the parameter 'filtro_body", but the message remains