> GET /v2/user/login?password=tom&username=tom HTTP/1.1
> Accept-Encoding: gzip, deflate
> Connection: keep-alive
> Accept: application/coreapi+json, */*
> Host: petstore.swagger.io
> User-Agent: coreapi
< 200 OK
< Access-Control-Allow-Headers: Content-Type, api_key, Authorization
< Access-Control-Allow-Methods: GET, POST, DELETE, PUT
< Access-Control-Allow-Origin: *
< Connection: close
< Content-Type: application/json
< Date: Fri, 23 Sep 2016 11:43:47 GMT
< Server: Jetty(9.2.9.v20150224)
< X-Expires-After: Fri Sep 23 12:43:47 UTC 2016
< X-Rate-Limit: 5000
<
< logged in user session:1474631027450
It's also unclear to me if I should be able to use this session identifier in future requests, and if so, how?
Being able to say for sure if these are server-side issues, or if I'm missing something in the spec and formulating my requests incorrectly would go a long way towards helping validate that the command line client really is working as expected (or not)
Many thanks for your time,
Tom
Since it’s a public demo, people play around with the pet store and… it’s not always too stable.
I’ve restarted the app, and it seems to be working well now.
Until next time!
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have been working with https://petstore.swagger.io/#/, but yesterday and today I am getting an http 500 with the following error message when I execute the “User” operations:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<apiResponse>
<message>something bad happened</message>
<type>unknown</type>
</apiResponse>
Is there a problem with the service?
Your support is highly appreciated.
Thanks in advance.