HTTP Post to send xml-file
Posted: Fri May 13, 2016 11:18 am
I'm testing to get an status-report posted at an server and they (the other company) say that I should use HTTP Post and a xml-file to get it to work. But I think I not geting everything right. I have never used HTTP request before.
First the basic; I need to have one "file" that trigger the HTTP request, but it is not that file how is going to be send, or?

When I choose the POST-type I get to select another file, is that the file how is sent?
The company say that the xml-file just needed this;
And if I set it up like the picture, I got a response that it's ok from Switch, but nothing happening at the company system;
Request type: POST
Finished status: Ok
Status code: 200
Status description: OK
Last error:
The company is going to see if they got anything on there logs, but I wondering if I thinking wrong on my side at Switch?
First the basic; I need to have one "file" that trigger the HTTP request, but it is not that file how is going to be send, or?

When I choose the POST-type I get to select another file, is that the file how is sent?
The company say that the xml-file just needed this;
Code: Select all
<?xml version="1.0" encoding="iso-8859-1" ?> <updateJob>
<jobId>3675998</jobId>
<jobStatus>0</jobStatus>
</updateJob>
Request type: POST
Finished status: Ok
Status code: 200
Status description: OK
Last error:
The company is going to see if they got anything on there logs, but I wondering if I thinking wrong on my side at Switch?