We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi ! I just discovered your project thanks to your post on stackExchange. I want to upload a File to a server, and save it.
For now, I've got this code :
Webb webb = Webb.create(); Response<String> response = webb .post("http://..../test.php") .body(file) .connectTimeout(10 * 1000) .asString(); if (response.isSuccess()) { String outcome = response.getBody(); System.out.println(outcome); } else { System.out.println(response.getStatusCode()); System.out.println(response.getResponseMessage()); System.out.println(response.getErrorBody()); }
My question is : How can I receive this file in the PHP Script ? Do I need to look for something like $_FILES or $_POST ?
The text was updated successfully, but these errors were encountered:
Nevermind, I don't want to make you lose time :D Thanks for the library, it works perfectly !
Sorry, something went wrong.
Seems like this is not much of a problem:
string http_get_request_body ( void )
You're welcome!
No branches or pull requests
Hi !
I just discovered your project thanks to your post on stackExchange.
I want to upload a File to a server, and save it.
For now, I've got this code :
My question is : How can I receive this file in the PHP Script ?
Do I need to look for something like $_FILES or $_POST ?
The text was updated successfully, but these errors were encountered: