You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is my code:
c.HTML(http.StatusOK, "updateRecord.html", gin.H{
"patientId": record.PatientId,
"patientName": record.PatientName,
"doctorId": record.DoctorId,
"doctorName": record.DoctorName,
})
c.Redirect(http.StatusFound, "/admin/update")
I want redirect web page to ''/admin/update'',and sent some data to ''/admin/update'', ''/admin/update'' have a html file:updateRecord.html, but this way is wrong.Actually,the page have not redirect. Can you help me?
The text was updated successfully, but these errors were encountered:
this is my code:
c.HTML(http.StatusOK, "updateRecord.html", gin.H{
"patientId": record.PatientId,
"patientName": record.PatientName,
"doctorId": record.DoctorId,
"doctorName": record.DoctorName,
})
c.Redirect(http.StatusFound, "/admin/update")
I want redirect web page to ''/admin/update'',and sent some data to ''/admin/update'', ''/admin/update'' have a html file:updateRecord.html, but this way is wrong.Actually,the page have not redirect. Can you help me?
The text was updated successfully, but these errors were encountered: