curl command works