Hi Guys
If For testing purpose you want to upload a file on your site with FireFox Addon Poster then you can tackle this issue by follow the following setps.
1. Convert Your File into Base64 format. In my case I uploaded jpeg file so that i have converted my file into base64 format http://www.base64-image.de/.
2. Install and open Poster Interface.
3. Insert the following info in Parameters fields.
i) file[file]=your_base64_format_code
ii) file[filename] = Your File Name e.g my_image1.jpg
iii) file[filepath] = public://your_directory_name/image_name e.g public://my_image1.jpg
4. Click on Body from Pparameters
5. Your request response would be like this.
Comment | File | Size | Author |
---|---|---|---|
poster_respone.jpg | 65.56 KB | asghar | |
poster_field_in_body.jpg | 196.38 KB | asghar | |
poster_params_field.jpg | 90.23 KB | asghar | |
Poster_interface.jpg | 77.22 KB | asghar |
Comments
Comment #1
asghar CreditAttribution: asghar commentedComment #3
firoz2456 CreditAttribution: firoz2456 commentedThank you very much for this tutorial.