Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentification with HTTP header #5

Open
paulRbr opened this issue Jun 17, 2015 · 3 comments
Open

Authentification with HTTP header #5

paulRbr opened this issue Jun 17, 2015 · 3 comments

Comments

@paulRbr
Copy link

paulRbr commented Jun 17, 2015

Hello,

I am not able to authenticate on the API with the "Authorization" HTTP header as specified in the documentation here https://github.com/SNCFdevelopers/API-trains-sncf/blob/master/source/integration.rst#authentication.

Here is what curl answers :

> curl --compressed -H  "Authorization: xxxxxx-mysecretkey-xxxxxx" https://api.sncf.com/v1/coverage
curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
> curl --version
curl 7.38.0 (x86_64-pc-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3

Is the Authorization HTTP header method not working ?

@kinnou02
Copy link
Collaborator

kinnou02 commented Jul 2, 2015

We thinks it's related to a network's equipment, our exploitation team will investigate it!

@paulRbr
Copy link
Author

paulRbr commented Jul 2, 2015

Cheers!

@Konubinix
Copy link

@paulRbr I guess that issuing the output of the command with verbose activated (with -v) will help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants