How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLPROG Your Own Question

ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7677
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
Type Your Programming Question Here...
ATLPROG is online now
A new question is answered every 9 seconds

I am being told that I need to send a http post whereas

Customer Question

I am being told that I need to send a http post whereas there will be an attachment. The attachment will be a large file that's compressed and base64 encoded. This is supposed to be in the xml body. I am looking for what a http request would look like in this scenario. I am looking for an example with head and body (dummy information of course). Is this something that you have experience with?
Submitted: 1 year ago.
Category: Programming
Expert:  Jawaad Ahmed replied 1 year ago.

Your question is not very clear, however, you may upload the data at www.mediafire.com or www.wikisend.com and send me the link, so I can see clearly what is asked.

Customer: replied 1 year ago.
Hello, I am currently very confused as to why my question did not go to computer technical support and instead went to you, who is a chartered accountant. When I wrote my question, the person who showed on the screen was an electrical engineer with web development experience.
Expert:  Jawaad Ahmed replied 1 year ago.

It seems that it has been posted to wrong category, please post in the correct category, thanks.

Customer: replied 1 year ago.
I will do so, but i think justanswer placed it incorrectly. I picked technical support. I'll now contact justanswer and see if they can straighten this out. Thanks.
Expert:  Jawaad Ahmed replied 1 year ago.

Take care.

Expert:  Chris Baxter replied 1 year ago.

Hello!

This is going to be a rather short code, and is less complicated than it seems; however, there can be additional issues when coding this. Please see the following links for examples, and instructions on how to set that up. I tried to be general as possible, not knowing your IDE or other programs you may be using, these are going to be rather general instructions for writing the HTML. Thanks!

http://stackoverflow.com/questions/19124965/http-put-with-base64-encoded-attachment-using-requests

http://stackoverflow.com/questions/8482135/http-post-request-and-headers-with-mime-attachments-multipart-related-and-xop