We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b669705 commit 14404a7Copy full SHA for 14404a7
1 file changed
appengine/endpoints/clients/echo_client.rb
@@ -50,7 +50,7 @@
50
options[:message] = "Hello echo message" unless options[:message]
51
52
url = "#{options[:host]}/echo?key=#{options[:api_key]}"
53
-body = JSON.generate(message: options[:message])
+body = { message: options[:message] }.to_json
54
55
begin
56
response = RestClient.post url, body
0 commit comments