freeCodeCamp/curriculum/challenges/arabic/06-information-security-and.../information-security-with-h.../hide-potentially-dangerous-...

676 B

id title challengeType videoUrl localeTitle
587d8247367417b2b2512c37 Hide Potentially Dangerous Information Using helmet.hidePoweredBy() 2

Description

undefined

Instructions

undefined

Tests

tests:
  - text: ''
    testString: 'getUserInput => $.get(getUserInput("url") + "/_api/app-info").then(data => { assert.include(data.appStack, "hidePoweredBy"); assert.notEqual(data.headers["x-powered-by"], "Express")}, xhr => { throw new Error(xhr.responseText); })'

Challenge Seed

Solution

// solution required