Wrap curl in method

Add a GODOT_DEBUG to the curl method so we can see what
the server is returning.