Ruby on Rails Friday, August 21, 2015

BalaRaju Vankala wrote in post #1177929:
> Hello All,
>
>
> I am using rest api for one of my projects, I am using httparty gem.
>
> $ curl --data-binary @mytickets.pdf "
> https://brokerapi.ticketcity.com/orders/{SALEID}/uploadticket?api={APIKEY}"
>
> I don't know how to call above link in the httparty gem.
>
> Could you please explain how to implement.
>
>
>
> --

If you need upload some files,maybe you should use HTTMultiParty instead
of HTTParty(https://github.com/jwagener/httmultiparty).

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2fc5f1e4ec04086efe79302a3d7b022f%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment