Explorar el Código

change http method to post from put

yohei0125 hace 4 años
padre
commit
57b9420bf6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/server/routes/apiv3/pages.js

+ 1 - 1
packages/app/src/server/routes/apiv3/pages.js

@@ -551,7 +551,7 @@ module.exports = (crowi) => {
     return res.apiv3(result);
   });
 
-  router.put('/path-recovery-operation', accessTokenParser, loginRequiredStrictly, csrf, apiV3FormValidator, async(req, res) => {
+  router.post('/path-recovery-operation', accessTokenParser, loginRequiredStrictly, csrf, apiV3FormValidator, async(req, res) => {
 
     const { pageId } = req.body;
     try {