Category : curl

I am running the following CURL curl -IX OPTIONS "http://example.com/api/resource?p=1&itemPerPage=2&order[date]=asc" The curl from my computer receive the following response. HTTP/1.1 200 OK Date: Thu, 19 Nov 2020 15:21:39 GMT Server: Apache/2.4.38 (Debian) X-Powered-By: PHP/7.4.11 Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET, OPTIONS, POST Content-Length: 0 Content-Type: text/html; charset=UTF-8 Same request did from browser: General: Request URL: http://example.com/api/resource?p=1&itemPerPage=2&order[date]=asc Request ..

Read more