It's all about the answers!

Ask a question

Using Perl to access the JAZZ REST API, using Tomcat


0
1
Per Björk (111) | asked May 30 '13, 1:30 p.m.

Hi,

RTC 4.0.2.

I’m trying to login using REST and Perl, but fail. I get the error “408 Request Timeout”. I’m using the script in article below as starting point. The script is written for WAS, I’m using Tomcat.

Using Perl to access the JAZZ REST API:
https://jazz.net/library/article/1086/

Can anybody help me?

Thanks,
Per

2 answers



permanent link
sam detweiler (12.4k6172200) | answered May 30 '13, 1:43 p.m.
did you edit the server address to match your environment?

https://localhost:9443


Comments
Per Björk commented Jun 01 '13, 11:08 a.m.

Yes! I also have the same problem on both my Windows and Linux machine.


permanent link
Stephane Leroy (1.4k139) | answered Jun 03 '13, 10:32 a.m.
JAZZ DEVELOPER
Hi Per,

I haven't tested it myself but found this previous forum question & answers:
https://jazz.net/forum/questions/17204/problem-using-curl-to-access-work-item-api

Hope it helps.

Regards,
Stéphane

Comments
Per Björk commented Jun 04 '13, 4:51 a.m.

Thanks,  Stéphane.

I have solved the problem using “curl” instead of Perl.
I still don’t know why Perl don’t work, I make the same calls.

Regards,
Per

Your answer


Register or to post your answer.