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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

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

davidc11
1-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
adam11
5-Regular Member
(To:davidc11)

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.



Top Tags