Skip to content

curl request in features.rst not working #1298

@beyondszine

Description

@beyondszine

At "https://github.com/pyeve/eve/blob/master/docs/features.rst#projections"
the following curl request is giving error because of the special symbols it has in curl request. It doesn't seem to be working with my curl tool.

○ → curl -i http://eve-demo.herokuapp.com/people?projection={"lastname": 1, "born": 1}
curl: (3) [globbing] unmatched brace in column 49
curl: (6) Could not resolve host: 1,
curl: (6) Could not resolve host: born
curl: (3) [globbing] unmatched close brace/bracket in column 2
○ → curl -V
curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-01-24
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL 

The special symbols seem to be replaced by standard clients like insomnia,postman,browsers.
I understand this has more association to curl tool itself, but since I found it being used in documentation for Eve & examples given so raising issue here.
Updating the documentation or specifying curl version & platform on which the commands worked(when written) can also help users while trying out with Eve.
Kindly let me know if I missed any part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions