Skip to content

Commit

Permalink
Turn off URL globbing parser for curl get requests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexParamonov committed Apr 21, 2017
1 parent bcc806d commit e9af6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec_api_documentation/curl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def post
end

def get
"curl \"#{url}#{get_data}\" -X GET #{headers}"
"curl -g \"#{url}#{get_data}\" -X GET #{headers}"
end

def head
Expand Down

0 comments on commit e9af6a5

Please sign in to comment.