401 error on Post Request
Hi,
I'm doing post request from Arduino GSM Shield 2 to Thingworx. Right now i want to remotely create a Thing. I've tried with POSTman, the Request is valid and from Postman I can create Thing. I've posted from shield another request to other page, and i know that shield is configured corectly. But when i do the same request from arduino i get 401 error.
My POST (Works in POSTMAN):
POST /Thingworx/Resources/EntityServices/Services/CreateThing?appKey=xxxx-xxx-xxxx-xxx-xxx&method=post&x-thingworx-session=true&name=NewThing&thingTemplateName=GenericThing HTTP/1.1
Host: pp-xxxxxxxxxxxx.devportal.ptc.io
Connection: close
Accept: application/json
Content-Type: application/json
And Response:
HTTP/1.1 401
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Security-Policy: frame-ancestors 'self'
X-Frame-Options: SAMEORIGIN
Content-Length: 0
Date: Tue, 16 Jul 2019 07:05:21 GMT
Connection: close
Can someone tell me wats wrong?

