Skip to Content

consuming rest api in c4c error

I wrote a piece of code in Java, packaged into rest API, call for C4C; but when I deployed Java program to port 80, C4C can be called successfully, but when I deployed Java program to other ports, such as 8001, C4C will not be able to call, and error: NotFound. Do anyone know the reason?

http://111.231.101.57/token/getToken?account=raobaojun&password=raobaojun http://54.223.244.57:8001/token/getToken?account=raobaojun&password=raobaojun

The above two URL can be invoked if they are open in the browser, but in C4C, only the 80 port URL can be invoked successfully.

successful.png (577.0 kB)
error.png (643.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers