rest_parser 0.1.7

Parse VSCode `.rest` files and Jetbrains `.http` files
Documentation
@HOST = http://httpbin.org

### SimpleGet

GET {{HOST}}/get HTTP/1.1

/// Another comment

###
# @name JsonPost

POST {{HOST}}/post HTTP/1.1
Authorization: Basic Zm9vOmJhcg==
Content-Type: application/json
X-Http-Method-Override: PUT

{
    "data": "my data"
}


#######
@endpoint = put

PUT https://httpbin.org/{{endpoint}} HTTP/1.1
Authorization: Bearer efaxijasdfjasdfa 
Content-Type: application/x-www-form-urlencoded
My-Header: hello
Other-Header: goodbye

a=b&c=d


###
# @name WithQuery 
@sort_by = products

GET {{HOST}}/get?q=query&sort={{sort_by}} HTTP/1.1

### CanTemplateVariables 
# @timeout 300 m
@first_name = joe
@last_name = list
@name = {{first_name}}_{{last_name}}

POST {{HOST}}/post HTTP/1.1
Content-Type: application/json

{
    "name": "{{name}}"
}


### 
# @name CanEpxort
# @no-log
POST {{HOST}}/post HTTP/1.1
Content-Type: application/json

{
    "name": "{{name}}"
}

>> ./cool-file.json