Sending multiple string parameters to post request in Rails

I am using Net::HTTP::Post to send a request to a pre-determined url, like so:

request = Net::HTTP::Post.new(my_url) request.body = my_string_parameter  

However, I know that my_url expects two string parameters. Is there a way to pass in multiple strings to a post request via Ruby on Rails?

Replay

Category: ruby on rails Time: 2016-07-29 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.288 (s). 12 q(s)