1

我正在尝试 curl 命令作为curl "https://api.mockaroo.com/api/2066ab40?count=1000&key=8bf92810" > sample.csv. 我想在 sample.csv 文件中获得 1000 条记录,但我在响应中只获得 4 条记录,如下所示。

StatusCode        : 200
StatusDescription : OK
Content           : id,first_name,last_name,email,gender
                    1,Travis,Durrans,tdurrans0@wikispaces.com,Male
                    2,Lucio,Purkins,lpurkins1@newyorker.com,Male
                    3,Kerianne,Hayne,khayne2@last.fm,Female
                    4,Sofie,Rosenblath,srosenbl...
RawContent        : HTTP/1.1 200 OK
                    Transfer-Encoding: chunked
                    Connection: keep-alive
                    X-Frame-Options: SAMEORIGIN
                    X-XSS-Protection: 1; mode=block
                    X-Content-Type-Options: nosniff
                    Content-Disposition: attachment; fil...
Forms             : {}
Headers           : {[Transfer-Encoding, chunked], [Connection, keep-alive], [X-Frame-Options, SAMEORIGIN], [X-XSS-Protection, 1; mode=block]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        : mshtml.HTMLDocumentClass
RawContentLength  : 48646

    curl "https://api.mockaroo.com/api/2066ab40?count=1000&key=8bf92810" > sample.csv
4

0 回答 0