The whole process of Alibaba Cloud server access to Telecom OceanConnect (NB-IoT)

1. Configure the Tomcat/jdk environment. There are many online tutorials.
2. Configure the certificate of the https server.
3. Export the RESTful applet we wrote to war format and put it in the webapps directory of tomcat.
write picture description here
4. Enter the bin directory of Tomcat to run the script ./startup.sh to start the tomcat server
write picture description here
5. Enter the log directory of Tomcat and enter tail -f catalina.out to see the server log
write picture description here
6. Use postman to call the post interface (that is, callbackurl), here we have The interface is:
https://ip:port/hello/rest/user/yu
postman certificate configuration process:
http://developer.huawei.com/ict/forum/thread-21465.html
Return 200 ok is success
write picture description here
7. At this time, you will see the data from the calling interface Post on the Tomcat log interface.
write picture description here
8. Complete the subscription operation on the Telecom OceanConnect platform.
write picture description here
Click subscribe, enter our callback Url
write picture description here
and click subscribe again, success!
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324789767&siteId=291194637