cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

In the REST API, what exactly does x-thingworx-session do?

Newbie

In the REST API, what exactly does x-thingworx-session do?

What exactly is the purpose of this param?

What effect does it have if I pass true or false?


I've been specifying x-thingworx-session=true in my REST calls, and we've noticed a large number of sessions being spawned on the Twx server. Might they be related?


Thanks,

-Dave



1 REPLY 1

In the REST API, what exactly does x-thingworx-session do?

Dave,

This parameter is used to create a session when making a request, so it's very likely this is the cause of the large number of sessions. Section "06.01 Application Keys" of the Wiki provides further information about using this parameter.


In general, you will want to refrain from using this parameter.