Hey guys,
Just a quick question,
when I do
request = Net::HTTP::Post.new(path)
Can I do
path = '/api/v1/baskets?apiKey=' + api_key + '&sig=' + sig + '&time=' + time
Where api_key sig and time are some string
or do I need to do
path = '/api/v1/baskets'
request.set_form_data({'apiKey' => api_key, 'sig' => sig, 'time' => time})
is there any difference or are they pretty much the same?