0

I'm trying to test a file upload function. This function I'm trying to test is where the file data is posted to from a form.

Is there a way to test this function without the need of an upload form?

1 Answer 1

2

You can construct an HTTP programatically with the cURL library. Google throws up this example.

Sign up to request clarification or add additional context in comments.

1 Comment

the "example" is no longer available

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.