Skip to content
Browse files

AS7 now requires the Content-Type header to be set for management.

  • Loading branch information...
1 parent 2e5b501 commit caf217c329f2dd2054ad2d57c5d385720ce501c4 @tobias tobias committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/torquespec/server.rb
View
1 lib/torquespec/server.rb
@@ -81,6 +81,7 @@ def startup(opts)
def post(path, params)
req = Net::HTTP::Post.new(path)
+ req.content_type = "application/json"
if (params.is_a? Hash)
req.set_form_data( params )
else

0 comments on commit caf217c

Please sign in to comment.
Something went wrong with that request. Please try again.