File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 294294 const { expId, pid } = getQueryParams ( ) ;
295295 const qnas = collectFormData ( ) ;
296296
297- if ( ! expId || ! pid || qnas . length === 0 ) {
298- alert ( "שגיאה: חסר מזהה ניסוי, מזהה משתתף או תשובות." ) ;
299- return ;
300- }
297+ // if (!expId || !pid || qnas.length === 0) {
298+ // alert("שגיאה: חסר מזהה ניסוי, מזהה משתתף או תשובות.");
299+ // return;
300+ // }
301301
302302 const payload = { expId, pid, qnas } ;
303303
304304 try {
305- const res = await fetch ( '/data/experiment/insert/feedback' , {
305+ // URL https://ims-project.cs.bgu.ac.il:8640/
306+ // need to add this /data/experiment/insert/feedback
307+ const res = await fetch ( 'https://ims-project.cs.bgu.ac.il:8640/data/experiment/insert/feedback' , {
306308 method : 'POST' ,
307309 headers : { 'Content-Type' : 'application/json' } ,
308310 body : JSON . stringify ( payload )
You can’t perform that action at this time.
0 commit comments