cURL to Fetch

cURL to Fetch

Convert curl commands to fetch() calls.