Skip to content

Authentification with HTTP header #5

Description

@paulRbr

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions