[BUG FIX]Send header "Accept: application/json"
Remove trailing semi-colon
[BUG FIX]Fix indentation
Transit when FormData is not available