Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent sending requests to the central survey-js server #416

Open
rilshok opened this issue Aug 14, 2023 · 0 comments
Open

Prevent sending requests to the central survey-js server #416

rilshok opened this issue Aug 14, 2023 · 0 comments

Comments

@rilshok
Copy link

rilshok commented Aug 14, 2023

Defining the survey_id and survey_post_id arguments when creating the questions:Survey results in interstep communication with the server api.surveyjs.io.

Specifying survey_id attempts to retrieve the survey form:
https://api.surveyjs.io/public/v1/Survey/getSurvey?surveyId=123
If you specify survey_post_id, a post request is sent with the results of filling out the form:
https://api.surveyjs.io/public/v1/Survey/post/

Is there any way to send the form with these parameters to its own post handler? Apparently, the post request generated for the official api uses its own code to generate the request body. Is it possible to get the results of the form on its own side in the way that this data is defined in the survey-js framework? Perhaps the structure of the responses they generate is more correct than the one defined in the js-templates, I would like to be able to process the form results as defined by the framework developer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant