Translation:Ich habe geschlafen.
Either you misunderstood or there was a bug in the other example. The only correct answers here are:
ich habe geschlafen
Both mean the same thing in standard German, but the first is more likely in speaking and the second in writing. The first one needs the 'helping verb' to make sense.