i am just querying my InfluxDB and i made it work, but i never did web so i am not so experienced with http protocol. I need to do curl request. This one works fine: But this does not and i dont understand why, i thought it is the same thing just differently put. I guess no need for u
Tag: http
Http response decoding behaves differently from Windows to Linux
My java application is downloading some files encoded with either UTF-8 or ISO-8859-1 from a bitbucket repository. I know in advance the charset used in those files. My app is running fine on my Windows local machine (I use Eclipse JEE with a Tomcat 9 server). I have deployed this application on a RedHat virt…
Class ‘IlluminateSupportfacadesHttp’ not found
My Laravel app was running successfully locally on my PC using WAMP server When I deployed my app on a RedHat server, I faced the below error when I make an HTTP request: The only difference is the PHP version composer.json And please note that locally, i upgraded my laravel version from laravel 5 to laravel …
unix command to search count of 5XX status HTTP requests in the log
i need to write a unix command to search count of 5XX status HTTP requests in the log. Log format is like below example : any suggestions ? Answer A minimal solution would be grep will filter the output to only the lines including the string 5XX, where X is any digit character. This output is then piped to wc
localhost refuses access on port during Docker tutorial
I’m currently getting started with Docker on a Linux VM provided by my university. To get started with docker I’m doing their tutorial (https://docs.docker.com/get-started/part2/#run-the-app). After creating the files the tutorial says to use the command: docker run -p 4000:80 <name of containe…
Using netcat to issue a http get request in bash
I have written the following script (it does not support index yet). The issue I am having is regarding using netcat to load the page. I can do this manually using the command line but when I try to have my script issue the exact same commands I can it does nothing without error. The only possible thing I can
Convert curl request into http request?
I am trying to convert the curl request below into an HTTP request for the postman tool. The postman tool might not really matter in this question. Please tell me how I can convert curl to http. What I tried/learned: – Set headers content-type: json/application, X-apiKey from curl docs, -d option means …
HTTP Live Stream stops playing after a while
I have a problem with streaming with ffserver. After I start ffserver and desktop-capture, everything seems to work fine. Then I open the browser and access the output(http://localhost:8090/test1.mpeg). It plays fine for 6-7 seconds then it stops and I have to refresh the page to get it work again. Does anyon…
Why can’t python sockets resolve url’s with http in it
My Script basically looks like this i am getting an error, like this This means that python can’t resolve that particular host, if i remove the http:// and leave it as goal.com or make that request through my browser, it’s just fine and the script and the browser don’t throw any errors, one …
Cannot access to CentOS from MS Windows via http
I have got installed CentOS 7 under virtual envirment. It has proper hostname so I can ping it and it has acccess to internet inside of it and I can ping by IP and host name outside of it. Also It has working Apache and its test page is fine that has been checked locally. Now I would like to