Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

HTTP answer code 201 | Telit Cinterion IoT Developer Community

April 13, 2015 - 2:09pm, 1909 views

Hello!

I'm working with the Cinterion EHS6 and I have some trouble with my HTTP requests.

At some point in the code, the module makes a request to my server which replies with a JSON and the HTTP code 201 (created).

This is the URC that the Cinterion displays:

^SIS: 1,0,8002,"HttpHTTP POST: IllegalArgumentException HTTP-CODE: 201".

I have two questions:

1. Why is there an IllegalArgumentException while the HTTP code is 201? Does the Cinterion support the HTTP code 201?

2. According to the documentation of "^SIS", 8002 corresponds to the <urcInfoId>. However, it only goes from 0 to 8000... So what is 8002?

Thank you for your help!