Forum Discussion
DionTN
4 years agoHelper II
Use parameter in power query m
I am a newby, but try to request an API in power query. I had the following but want to change it to use parameters: let
body = "{
""organisation"":""*****"",
""use...
- 4 years ago
Hi DionTN ,
You are missing some double quotes, please use the following body:
body = "{ ""organisation"":"""&OrganisationPar&""", ""username"":"""&UsernamePar&""", ""password"":"""&PasswordPar&""" }"If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vijay_A_Verma
4 years agoMost Valuable Professional
Try this
body = "{
""organisation"":""&OrganisationPar&"",
""username"":""&UsernamePar&"",
""password"":""&PasswordPar&""
}"DionTN
4 years agoHelper II
Still got an error.. I added a , on the end of the body because it was required.