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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

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

davidc11
1-Visitor

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
7-Bedrock
(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.



Announcements


Top Tags