Skip to main content


The dothttp comments are the statements that are not considered (no op) for request generation. These can be used to provide information or explanation. It can also be used to hide request data.

Types of dothttp Comments

  • Single Line Comment (// like javascript)
  • Multi Line Comment (startswith/* endswith */ like javascript)
  • Unix Comment #

example 1 (single line)#

//? urlparamwskey1 = urlparamsvalue2
? urlparamwskey2 = urlparamsvalue2

try in browser here

produces request

curl -X GET \

example 2 (combo)#

"name" : "john",
// "name" : "doe",
"location" : 'newyork',
this is ignored
"interests" : [
'working out',

try in browser here

produces request, manga and name 'doe' is commented/removed whwen making request

curl -X POST \
-H 'Content-Length: 102' \
-H 'Content-Type: application/json' \
-d '{"name": "john",
"location": "newyork",
"interests": [
"working out",
}' \