Skip to main content
1-Visitor
April 10, 2015
Question

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

    5-Regular Member
    April 10, 2015

    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.



    Translate