http post data to ms form via api

%3CLINGO-SUB%20id%3D%22lingo-sub-3371199%22%20slang%3D%22en-US%22%3Ehttp%20post%20data%20to%20ms%20form%20via%20api%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3371199%22%20slang%3D%22en-US%22%3E%3CP%3EUnderstand%20that%20I%20have%20to%20go%20through%20following%20steps%20if%26nbsp%3Busing%20api%20to%20access%20form%20data%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fforms.office.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fforms.office.com%3C%2FA%3E%3CSPAN%3E%20(to%20get%20access%20token%20in%20browser)%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fforms.office.com%2Fformapi%2Fapi%2Fforms%2F%7Bform%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fforms.office.com%2Fformapi%2Fapi%2Fforms%2F%7Bform%3C%2FA%3E%20ID%7D%2Fquestions%20(get%20form%20questions)%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%3E%3CBR%20%2F%3EMy%20questions%20are%3A%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EIs%20it%20possible%20to%20embed%20token%2Fcredential%20in%20api%20link%20or%20combining%20two%20steps%20above%20into%201%20step%3F%20I'm%20trying%20to%20create%20swift%20app%20to%20make%20HTTP%20post%20via%20API%20to%20submit%20ms%20form%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3371199%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EForms%20API%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Understand that I have to go through following steps if using api to access form data:

  1. https://forms.office.com (to get access token in browser)
  2. https://forms.office.com/formapi/api/forms/{form ID}/questions (get form questions)


My questions are:

  • Is it possible to embed token/credential in api link or combining two steps above into 1 step? I'm trying to create swift app to make HTTP post via API to submit ms form 

 

0 Replies