Posted 4 September 2024, 1:38 am EST - Updated 4 September 2024, 1:43 am EST
Hello Team,
We are facing issue in calling Post API .
Could you please help us with the syntax of below mentioned API details.
Post Body is used in raw format in postman how can we use the same in active reports.
let
url = "
https://faw24.milessoft.com/V24_Main/ClientPortalv24/24RestAPI/Client/Schemes"
,
headers = [
#"TPA" = "xyz", #"TenantId" = "#", #"Content-Type" = "application/json"
],
body = “7joIb/20+DbhFriYaUuuh+2mh590bYwLC7IuVG/tXxTmV1rMaQfz4TcszVfWimzjIN9t9/ipMCFsKR8YK9xxn4jIHVH1qBqJFLbp/OoROtsz4eXzJmH4FBJCm/fccg9vEjpwhrCoH/vJT8oC/VZu7Hlip/7yNOaZNNbNzTm5TKLdE/ZQYIC99bDuPE7d/pPrNFsMY2rPYvYXOhBKjRATI4mvHHE0El6brPcIC/1zb34gPTJVGMH/y0h1nvhCGIPZhZCiS7bhy0XfHA7RJlBSpBPwU01l6hmK1R5lU8nhGBvFJwGezXBq2u5ClHgWYWyz8RCAq5a0QdBJSso7x1Ah/A==”,
Source = Json.Document(Web.Contents(url, [
Headers = headers, Content = Text.ToBinary(body)
]))
in
Source