fetch Convert CURL to javascript fetch api: kigiri.github.io/fetch Alternative options You can now do this directly from chrome devtools: