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

  • SEARCH
  • Home
  • 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 5947023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:54:21+00:00 2026-05-22T16:54:21+00:00

I am looking for sending JSON object to the server via GET. Chris’s answer

  • 0

I am looking for sending JSON object to the server via GET.
Chris’s answer on Post an Array of Objects via JSON to ASP.Net MVC3 works for the http POST but not for GET.
My case also works for POST but not for GET. What can I do to make GET work
Here is my case:
in Controller I have the following method
public ActionResult Screenreport(Screentable screendata)

   {
       // do something here
       return View();
   }

I have two ModelView as follows:

   public class Screenrecord
   {
      public string Firstname{ get; set; }
      public string Lastname{ get; set; }
   }
   public class Screentable
   {
      public List<Screenrecord> Screenlist { get; set; } 
   }

On the client side I generate JSON object

var Screentable = { Screenlist: screendata };

screendata is an array of Screenrecord

All this work when I use POST but when I use GET I am getting null value (screendata = null) Controllers’ method.
In other word when click GO, screendata is null in Screenreport(Screentable screendata) routine.

Also, if I send one JSON object it works but if I send an array (list) like I described, it does not.
Is what I am trying to do doable?

  • 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-05-22T16:54:22+00:00Added an answer on May 22, 2026 at 4:54 pm

    No 🙂
    Thats not how get works.

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

    (see 9.3 GET)

    “The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI”

    Request-URI being the important part here. There is no concept of body data in a GET request.

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

Sidebar

Related Questions

I am looking for a windows tool for sending POST requests to a url,
I am looking at a jqGrid implementation example for a ASP.NET MVC project. But
I am trying to post an array of objects from jQuery/Javascript client script to
I'm looking into sending regular automated text-messages to a list of subscribed users. Having
We are looking at sending some email notifications to about 1100 employees at a
I'm looking for an easy way of packing/unpacking data structures for sending over the
I'm looking at an inherited SSIS package, and a stored procedure is sending records
I am new to C# and ASP.net. I am a ColdFusion Programmer but I
I'm looking for a simple (OO?) approach to email creation and sending. Something like
I am looking for a mailengine that supports Sending emails Catching bounced emails Support

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.