Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Unirest\Request\Body' not found in Laravel #148

Open
armadill opened this issue Aug 2, 2020 · 3 comments
Open

Class 'Unirest\Request\Body' not found in Laravel #148

armadill opened this issue Aug 2, 2020 · 3 comments

Comments

@armadill
Copy link

armadill commented Aug 2, 2020

Im using laravel and run from localhost and works... But when my project uoloaded to share hosting i got error Class 'Unirest\Request\Body' not found

@botnetdobbs
Copy link

If you're using the full namespace then it is good you preceded the namespace with a backslash I.e

\Unirest\Request\Body::anyMethod();

Or rather define the Body class by namespace at the top of the file hence you can use the class explicitly

use Unirest\Request\Body;

@botnetdobbs
Copy link

Also make sure you have it installed.

@kezenwa
Copy link

kezenwa commented May 13, 2021

is this Class still maintained. Last commit was in 2017 ?

Also this class seems more tailored for making REST requests, how good is using it as a HTTP client ?

AnyOne tried forking and upgrading this Class ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants