logo

Crowdly

Browser

Add to Chrome

Web tehnologije

Looking for Web tehnologije test answers and solutions? Browse our comprehensive collection of verified answers for Web tehnologije at c2.etf.unsa.ba.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

onreadystatechange se poziva ...

View this question

Pet djelova URI-a su:

View this question

Ispod koje linije koda treba dodati res.end(podaci); kako bi se u odgovor upisali pročitani redovi iz datoteke?

1

2

3

4

5

6

7

8

9

10

const http = require('http');

const fs = require('fs');

const url = require('url');

http.createServer(function(req,res){

let podaci;

fs.readFile('imenik.txt',function(err,data){

if(err) throw err;

podaci=data;

});

}).listen(8080);

View this question

U kojoj liniji koda je greška zbog koje se u odgovor ne upisuju podaci pročitani iz datoteke?

1

2

3

4

5

6

7

8

9

10

11

12

const http = require('http');

const fs = require('fs');

const url = require('url');

http.createServer(function(req,res){

let podaci;

fs.readFile('imenik.txt',function(err,data){

if(err) throw err;

podaci=data;

res.write(podaci);

});

res.end();

}).listen(8080);

View this question

U Node-u kada se obavi asinhrona operacija rezultat se može obraditi u:

View this question
Podaci zapisani u formatu x-www-form-urlencoded imaju sljedeći oblik:

View this question

Koji od paketa uključenih u sljedećoj skripti se ne koriste u kodu te skripte?

1

2

3

4

5

6

7

8

9

10

const http = require('http');

const fs = require('fs');

const url = require('url');

http.createServer(function(req,res){

let podaci;

fs.readFile('imenik.txt',function(err,data){

if(err) throw err;

podaci=data;

});

}).listen(8080);

View this question

Kada zahtjev šaljemo POST metodom koje zaglavlje, pored veličine sadržaja, šaljemo?

View this question

Ako server šalje sliku u png formatu kao odgovor klijentu, tada klijent očekuje koji mime tip?

View this question

Sljedeća linija koda govori o tome da će odgovor sadržavati JSON podatke?

res.writeHead(200, { 'Content-Type': 'text/plain' });

View this question

Want instant access to all verified answers on c2.etf.unsa.ba?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome