2.2.4 • Published 1 month ago

caccl-send-request v2.2.4

Weekly downloads
86
License
MIT
Repository
github
Last release
1 month ago

caccl-send-request

The default request sender used throughout the CACCL project.

Part of the CACCL library

Canvas
App
Complete
Connection
Library

Description

Sends an http request, handles paging, retries failed requests, and processes the response.

ArgumentTypeDescriptionDefault
hoststringhost to send the request tonone
pathstringpath to send the request tonone
methodstringhttp method to useGET
paramsobjectquery/body/data to include in the request{}
headersobjectheaders to include in the request{}
numRetriesnumbernumber of times to retry the request if it fails0
ignoreSSLIssuesbooleanif true, ignores self-signed certificate issuesfalse usually, true if host is localhost:8088

Returns: Promise.<CACCLError|object> Returns promise that resolves with { body, status, headers } on success, rejects with CACCLError (see caccl-error on npm) on failure.

Note: This function sends cross-origin credentials if process.env.NODE_ENV equals development.

2.2.1

1 month ago

2.2.0

1 month ago

2.2.3

1 month ago

2.2.2

1 month ago

2.2.4

1 month ago

2.1.10

1 month ago

2.1.9

4 months ago

2.1.8

10 months ago

2.1.7

12 months ago

2.1.6

1 year ago

2.1.4

1 year ago

2.1.5

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.0.15

2 years ago

2.1.1

2 years ago

2.0.16

2 years ago

2.1.0

2 years ago

2.0.19

2 years ago

2.0.18

2 years ago

2.0.20

2 years ago

2.0.3

2 years ago

2.0.14

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

2.0.0-beta.10

2 years ago

2.0.0-beta.15

2 years ago

2.0.0-beta.16

2 years ago

2.0.0-beta.0

2 years ago

1.0.15

3 years ago

1.0.14

4 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago