I just started trying to follow the instructions at Eve Third party Developer Blog and am receiving a 302 response. (Aside: As a new user, I’m limited to 2 URLs, so I’m cutting my question a lot.)
Swagger editor then shows a blank page. Curl reports more details:
curl -X POST -H “Content-Type: application/json” -d ‘{“swaggerUrl”:“https://esi.tech.ccp.is/_latest/swagger.json ”}’ “http://generator.swagger.io/api/gen/clients/python ”
302 Found
302 Found
Any ideas? Thanks!
Hopefully better formatting of the response…
> <html>
> <head><title>302 Found</title></head>
> <body>
> <center><h1>302 Found</h1></center>
> </body>
> </html>
Golden_Gnu
(Golden Gnu)
February 26, 2021, 10:06pm
3
The URL changed since the tutorial:
It’s now: https://esi.evetech.net
You need to use https://generator.swagger.io/api/gen/clients/python
, note it’s https
. Also your swaggerUrl
is old. See Removal of redirect from .tech.ccp.is on Jan 7th - EVE: Developers . tl;dr it should be https://esi.evetech.net/_latest/swagger.json
.
The full command should now be:
curl -X POST -H "Content-Type: application/json" -d '{"swaggerUrl":"https://esi.evetech.net/_latest/swagger.json"}' "https://generator.swagger.io/api/gen/clients/python"
1 Like
Thanks both! The new URL works.
system
(system)
Closed
May 27, 2021, 10:18pm
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.