Typeform/create-api-gem

Writing requests

Opened this issue · 4 comments

Hello, could you help me write write the complete correct requests for creating questions inside a form, creating forms inside specific worskspace and also accessing responses.
I really tried finding out how, it took me a whole day as am a beginner in ror.
Thank you advance.

Hey @AGLIBRA , were you able to figure this out? I am struggling with the same thing.

Which one from the above is your concern? Is it all of them or just one?

In the creation of questions, were you able to add a welcome screen?

For displaying a welcome screen it goes like this inside your controller if you are working in rails
github
:
form = CreateFormRequest.execute(Form.new(title: 'HOVER 3'), token: 'your-token-goes_here').form
form.welcome_screens << WelcomeScreen.new(title: 'Good and beautiful day')
UpdateFormRequest.execute(form, token: 'your-token-goes_here')