Forum Discussion
Use parameter in power query m
- 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.
Try this
body = "{
""organisation"":""&OrganisationPar&"",
""username"":""&UsernamePar&"",
""password"":""&PasswordPar&""
}"Still got an error.. I added a , on the end of the body because it was required.
- v-kkf-msft4 years agoCommunity Support
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.