Able to save JSON to localhost from own curl command but params strange