Swagger curl requests

I am using Swagger (https://editor.swagger.io/) to describe the interfaces. I want be able to make calls to backend using curl which Swagger does. However I am unable to pass Play session which is returned based on login rest of the calls.
How can I do this ?

You will need to capture the cookies returned on the login (or other previous requests) and append them as headers in your requests.