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 57a77b21f5
commit e20dc77e9c

View File

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