- In the case of redirects (which curl blindly follows), check the post-redirect URL against the blacklist entries too.
- curl Object ( [cache] => [proxy] => [version] => 0.4 dev [response] => Array ( ) [rawresponse] => Array ( ) [header] => Array ( ) [info] => [error] => [errno] => [emulateredirects] => [options:curl:private] => Array ( [CURLOPT_USERAGENT] => MoodleBot/3.8 (+http://127.0.0.1/iomad) [CURLOPT_HEADER] => 0 [CURLOPT_NOBODY] => 0 [CURLOPT_FOLLOWLOCATION] => 1 [CURLOPT_MAXREDIRS] => 10 [CURLOPT_ENCODING] => [CURLOPT_RETURNTRANSFER] => 1 [CURLOPT_SSL_VERIFYPEER] => 0 [CURLOPT_SSL_VERIFYHOST] => 2 [CURLOPT_CONNECTTIMEOUT] => 30 ) [proxy_host:curl:private] => [proxy_auth:curl:private] => [proxy_type:curl:private] => [debug:curl:private] => [cookie:curl:private] => [responsefinished:curl:private] => [securityhelper:curl:private] => core\files\curl_security_helper Object ( [transportschemes:protected] => Array ( [http] => 80 [https] => 443 ) ) [ignoresecurity:curl:private] => )
- curl response : Connection timed out after 30000 milliseconds
- (ip here) - - [22/Sep/2020:13:49:00 +0530] "GET iomad/view.php?id=2 HTTP/1.1" 502 584 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51" 81.12.79.249 - - [22/Sep/2020:13:50:51 +0530] "GET / HTTP/1.1" 200 3975 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" 159.89.197.246 - - [22/Sep/2020:13:51:13 +0530] ":\x92T\x05ib\xE8\x0Ek_V\x08\xDD=x\xAB\xC2\x13\x22\xB88\x1B\x01\x07\xA6\xB1~\xE0Ap\x8D\x96\xF3 \xB9\xDB\x0CEN#5h[\xE4\xC5\x16\xF7wBr=\xB1" 400 182 "-" "-"
GraphQL GraphQL is an application layer server-side technology which is developed by Facebook for executing queries with existing data. GraphQL can optimize RESTful API calls. It gives a declarative way of fetching and updating your data. GraphQL helps you to load data from server to client. It enables programmers to choose the types of requests they want to make. REST REST is a software architectural style that defines a set of constraints for creating web services. It is designed specifically for working with media components, files, or hardware device. The full form of REST is Representational State Transfer. ========================================================= Here is the important difference between GraphQL and REST. GraphQL REST GraphQL is an application layer server-side technology which is developed by Facebook for executing queries with existing data. REST is a software architectural style that defines a set of constraints for creating Web services. It follow...
Comments
Post a Comment