caominhvu commented on issue #614: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/614#issuecomment-1072039177
Below is my workaround, but it is on backend side: + To have another GET method to do whatever you want with the POST originally (move all logics from POST to the new GET api) + For the original POST api, just return a status code: 301 (redirect) + link to the GET method So, when client side calls the POST method, backend side will redirect to the GET method and return the result of GET method. As a result, beforeload will be triggered since from client side, it is a GET now. Hope this helps -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
