Skip to content

Tag: php

HttpURLConnection getting wrong response

Well, my php file includes simple code <?php echo “hello there” ?> Whenever I try read the file using HttpURLConnection.getInputStream(); it returns All I want is to just read the raw file.. only “hello there” .. not anything else.. how to do that ? Answer The question is old and…

“405 Method not allowed” in Laravel 5.6.14

I am just learning laravel resource methods to build a basic API. Below is the code of my api.php file that shows all the API routes. This works perfectly on get and delete methods. But for Post method, it is throwing error “405 Method not allowed”. I am using Postman to test the API calls. To be …

How to record HTML5 video in Safari?

I have to develop video recording in Safari 11. I have used getUserMedia() to play video in Safari and It is working but It is not recording the video. I have developed video recording in Chrome and Mozilla using Media Recorder. Media Recorder is not supporting in Safari 11 for recording video.How will i reco…