ruby - Communicating with remote apis including rails -


i new rails. in project have number of api calls(post) many servers. each call requires number of arguments needs send via post request. response simple json data. can suggest better way or has experience kind of stuff. most of these operation single round strip.

i have read active resource , net::http , confused 1 use. since active resource restful api don't know before hand if server communicating providing same.

thanks in advance!

you must check if api working rest or soap.

if rest use rest-client gem

if uses soap can use savon gem


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -