EMCECS / rest-client-c

C/C++ Client SDK for writing REST clients using libcurl
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

port number ignored #1

Open lathakris opened 8 years ago

lathakris commented 8 years ago

Thanks you for this rest client interface in C. This is very helpful.

Looks like the port number in the 'RestClient_init()' is being ignored. If you give the port number as part of the clientAddr it uses it (http://localhost:3000). Else default 80 is used.

jasoncwik commented 8 years ago

Hmm... you're right! We should probably just remove it.