interaapps / httprequest
There is no license information available for the latest version (1.0) of this package.
1.0
2020-07-12 20:27 UTC
This package is not auto-updated.
Last update: 2025-04-01 16:34:55 UTC
README
Features:
- Very Simple
- Pattern Builder (Returns always this except for send and getters)
use modules\httprequest\HttpRequest; // Simple get $res = HttpRequest::get("https://interaapps.de")->send(); $res->getData(); // Gets the body $res->getCode(); // Gets the httpcode // ... // POST-Request $res = HttpRequest::post("https://interaapps.de") ->parameter("username", "homer.simpson") ->parameter("username", "ilovedonuts") ->send();