Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:07:06+00:00 2026-06-05T03:07:06+00:00

I have created sample Flash-AIR FB application with Node.js REST API. I simply call

  • 0

I have created sample Flash-AIR FB application with Node.js REST API. I simply call these REST api’s through action script. Since I updated application on FB I am getting following strange behavior.

AS3 function: here are the 2 lines which should make post request to my URL

 request.url = "http://sample.com:3137/getData";
 request.method = URLRequestMethod.POST;

===================================================================
Node.js function: here are the lines of code in node.js

app.post('/getData', function(req, res){
    //res.send(req.params.paramTest);
    res.send("sending data");

});

app.get('/:methodName', function(req, res){
    //res.sendfile('index.html');
    res.send("In get "+req.params.methodName);
}); 

============================================================================

Here the problem is whenever I call “/getData” with POST request in AS3 it always goes into ” app.get(‘/:methodName’ ” instead of ” app.post(‘/getData’, “

If anyone have any clue please help me.

Thanks,
Swati.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:07:08+00:00Added an answer on June 5, 2026 at 3:07 am

    Issue is resolved. there was problem in called method name which starts with “get”, I simply changes method name to “/userdata” and everything working fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a sample application to insert documents into Google drive in .NET.
I have created a sample java socket application. I used Socket s = new
I have created a simple Hello World Application using Flash Builder Burrito SDK. I
I have created a sample report with crystal report 10. Now, I wanna to
I have created a image plot for this data: sample p p.1 p.2 p.3
I have created a CPTTradingRangePlot using the up-to-date sample code as an example. The
I have opened a sample ASP.NET MVC project. In HomeController I have created a
Hi i have created a simple menu in Flash. I have added the following
I have a third party flash object which i can manipulate through a javascript
I have created a simple flash game similar to shooting balloons. You can find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.