Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to send a post request from mochiweb to another server?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ivan Uemlianin  
View profile  
 More options May 4 2011, 12:13 pm
From: Ivan Uemlianin <ivan.llai...@gmail.com>
Date: Wed, 4 May 2011 09:13:00 -0700 (PDT)
Subject: How to send a post request from mochiweb to another server?
Dear All

I would like to send POST requests from my mochiweb application to
another server.  Currently I'm just using:

   Response = http:request(post, Request, [], []),

This works, but only if I start inets first, e.g. with one of:

    inets:start().

    application:start(inets)

Is there a function within mochiweb I can use instead of starting up
another application?

With thanks and best wishes

Ivan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bob Ippolito  
View profile  
 More options May 4 2011, 12:37 pm
From: Bob Ippolito <b...@redivi.com>
Date: Wed, 4 May 2011 09:37:15 -0700
Local: Wed, May 4 2011 12:37 pm
Subject: Re: [mochiweb] How to send a post request from mochiweb to another server?

It's normal to start applications that your application depends on.
You should do application:start(inets) along with anything else you
need before you start your application.

-bob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Uemlianin  
View profile  
 More options May 4 2011, 12:54 pm
From: Ivan Uemlianin <ivan.llai...@gmail.com>
Date: Wed, 4 May 2011 17:54:36 +0100
Local: Wed, May 4 2011 12:54 pm
Subject: Re: [mochiweb] How to send a post request from mochiweb to another server?
Thanks. I wanted to make sure there was nothing in mochiweb I should use instead.

Best wishes

Ivan

Sent from iPhone.

On 4 May 2011, at 17:37, Bob Ippolito <b...@redivi.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »