leoek / fetch-to-curl

Convert javascript fetch requests to curl
MIT License
67 stars 13 forks source link

Support fetching URL objects #33

Closed carpeliam closed 3 years ago

carpeliam commented 3 years ago

This adds support for URL objects. Currently, trying to call fetchToCurl with a URL object results in curl 'undefined' being returned.

codecov[bot] commented 3 years ago

Codecov Report

Merging #33 (5c54674) into master (90c7658) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           43        43           
  Branches        18        18           
=========================================
  Hits            43        43           
Impacted Files Coverage Δ
src/main.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 90c7658...5c54674. Read the comment docs.