Web service POST request | XM Community
Skip to main content
Solved

Web service POST request

  • March 17, 2022
  • 2 replies
  • 388 views

Forum|alt.badge.img+4

I have two questions concerning the Web Service element:
Are those POST requests in the web service task being made by the browser or by the qualtrics server?
Second, is it possible to take a variable from the survey link query string and have it automatically populated in the body parameter of the POST request?
Thanks in advance!

Best answer by TomG

Are those POST requests in the web service task being made by the browser or by the qualtrics server?

By the Qualtrics server
Second, is it possible to take a variable from the survey link query string and have it automatically populated in the body parameter of the POST request?

Yes, define the url parameter as an embedded data field (e.g., parm_name) in the survey flow then pipe it into the web service as ${e://Field/parm_name}.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • March 17, 2022

Are those POST requests in the web service task being made by the browser or by the qualtrics server?

By the Qualtrics server
Second, is it possible to take a variable from the survey link query string and have it automatically populated in the body parameter of the POST request?

Yes, define the url parameter as an embedded data field (e.g., parm_name) in the survey flow then pipe it into the web service as ${e://Field/parm_name}.


Forum|alt.badge.img+4
  • Author
  • Level 1 ●
  • March 17, 2022

Thanks for your prompt response!