submitting a form with XML in body

Hi Experts,

thank you for taking a look at my question.  I think it is basic, but am a little tired so I may not be thinking straight.

Essentially I have been given a url, that I need to post XML data in the request body...what precisely does it mean by that?  I have built the xml dynamically into a string.  but unsure how to do the POST (with request content type set to 'text/XML'

I am probably way over thinking it, but have been up way too long.

Could someone please help?
mavmanauNetwork Engineer/SysadminAsked:
Who is Participating?
 
leakim971PluritechnicianCommented:
0
 
leakim971PluritechnicianCommented:
Post your code

XML in body ?
or
xml dynamically into a string ?
0
 
mavmanauNetwork Engineer/SysadminAuthor Commented:
from what the Documentation says, it is uses REST.

It says
"to generate the payment URL, the merchant (ME), performs a HTTP(s) post to the PAYMENT API REST URL with the request content-type set to "text/XML" and the following XML data in the request body.


so from that, I am guessing they mean to create a form with a submit button on that has the XML in a hidden variable.

Is that the way you see it?
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
leakim971PluritechnicianCommented:
0
 
mavmanauNetwork Engineer/SysadminAuthor Commented:
so ajax is basically just a java library?  and can be used in the client browser?
0
 
leakim971PluritechnicianCommented:
0
 
mavmanauNetwork Engineer/SysadminAuthor Commented:
Very quick and helpful.  Thank you for the info!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.