0

I'm trying to receive data from an API, but it's POST method, so I'm trying to send the data, but it won't

let
    body =  [COD_INT= "886000", COD_INT_CSO= "0"],
    Parsed_JSON = Json.FromValue(body),
    Source = Web.Contents("https://apixxxxxxx.yyyyyyyyy.com.br/api/CursosConcluidos", 
            [
                Headers= [#"User-Token" ="673E9CAF-xxxxxxxxxxx-xxx-xx-968"],
                Content = Parsed_JSON
            ]
        ),
    final = Json.Document(Source)
in
    final

In Postman it works perfectly

Print from Postman

I tried the same from here but it's the same result

Changing or not the ParsedJSON in Binary gives the same result, 400

GuyRD5
  • 1

0 Answers0