Hi,
Thank you for your help, I’m working with Postman, and everything seems right.
I have a question, how can I use a script (in Groovy or JavaScript for example) to automatize starting/stopping a VS or listing a list of VSE ?
I’m using a script in Groovy where I can generate an XML file for a specific URL, but when I’m using as an url = http://ncelisaserver.etv.nce.amadeus.net:1505/api/Dcm/VSEs/VSE-PNR/ to post for example the list of VSE, I have a 401 ERROR for authorising access..? while in a simple browser like Chrome or Postman I have the result I want…
I tried with headers.'Authorization' = "Basic ${"login:password".bytes.encodeBase64().toString()}"the but I can’t keep my session for all request because I have a content = null …
Thanks for helping
Souhail BOUZAFOUR
R&D/AQG/QLM/QAM/QME
Amadeus sas
485 route du Pin Montard
06902 Sophia Antipolis
France
T: +33 4 9715 8970<tel:%2B33%204%2097%2004%202977>
souhail.bouzafour@amadeus.com<mailto:souhail.bouzafour@amadeus.com>
www.amadeus.com<http://www.amadeus.com/>