[Hidden-tech] node.js question

Levi Ramsey leviable at gmail.com
Sat Jan 10 23:17:44 EST 2015


The code posted in the later message is definitely Node.  For a web
(i.e. over http) API, it doesn't really matter whether the request is
generated in a browser or not; the only difference is the specific
calls to send an http request.

On Fri, Jan 9, 2015 at 5:46 PM, Tim Boudreau <niftiness at gmail.com> wrote:
>
>
>
>
> NodeJS is a server-side framework.  It looks like you're trying to replace jquery code (that runs in a browser) with NodeJS code?  There may be libraries that run in a browser that are similar though (perhaps the urllib that you require is such a thing?);  where is this code supposed to run - in a user's browser or on a server?
>
> -Tim
>
>
> On Fri, Jan 9, 2015 at 12:58 PM, Lynn Scharf <lynn at silverleafgeospatial.com> wrote:
>>
>>
>>
>>
>>
>> Hi,
>>
>> I think there are some node.js folks on this list, and wondered if I could get some feedback?
>>
>> I am interested in replacing the curl calls described in this API http://docs.cartodb.com/cartodb-platform/maps-api.html with node.js.  So far I have been successful in replacing anything that is a simple GET type request, but all of my POST or header manipulation attempts fail.
>>
>> Are these requests something that node.js is capable of, or am I wandering down the wrong path?
>>
>> Thank you!
>> Lynn
>>
>> _______________________________________________
>> Hidden-discuss mailing list - home page: http://www.hidden-tech.net
>> Hidden-discuss at lists.hidden-tech.net
>>
>> You are receiving this because you are on the Hidden-Tech Discussion list.
>> If you would like to change your list preferences, Go to the Members
>> page on the Hidden Tech Web site.
>> http://www.hidden-tech.net/members
>
>
>
>
> --
> http://timboudreau.com
>
> _______________________________________________
> Hidden-discuss mailing list - home page: http://www.hidden-tech.net
> Hidden-discuss at lists.hidden-tech.net
>
> You are receiving this because you are on the Hidden-Tech Discussion list.
> If you would like to change your list preferences, Go to the Members
> page on the Hidden Tech Web site.
> http://www.hidden-tech.net/members



-- 
Levi Ramsey
leviable at gmail.com
lramsey at umass.edu


Google

More information about the Hidden-discuss mailing list