Add comment to second example about body

Explain that by providing null/undefined, we are telling it we are not sending a body(or specifically a lack there of)
This commit is contained in:
Robert Mennell
2018-01-16 10:09:52 -08:00
committed by GitHub
parent efaeb99a2d
commit 97a2abe65b

View File

@ -42,7 +42,7 @@ Logs: {
*/
httpPost(
'https://jsonplaceholder.typicode.com/posts',
null,
null, //does not send a body
console.log
); /*
Logs: {