http-get Questions
6
Solved
I keep getting this annoying error from Checkmarx code scanner,
Method getTotalValue at line 220 of src\java\com\example\PeopleController.java
gets user input for the personName element. This ele...
Fouts asked 1/1, 2019 at 8:12
19
Solved
How to add indexes to array in query string?
I tried send data like this:
axios.get('/myController/myAction', { params: { storeIds: [1,2,3] })
And I got this url:
http://localhost/api/myContro...
Coexist asked 20/4, 2018 at 14:49
10
Solved
I am setting-up a REST web service that just need to answer YES or NO, as fast as possible.
Designing a HEAD service seems the best way to do it but I would like to know if I will really gain some ...
4
Solved
How might I change the verb of a WebClient request? It seems to only allow/default to POST, even in the case of DownloadString.
try
{
WebClient client = new WebClient();
client.QueryString.Ad...
7
Solved
I've got a bug involving httprequest, which happens sometimes, so I'd like to log HttpGet and HttpPost request's content when that happens.
So, let's say, I create HttpGet like this:
HttpGet g = ...
6
Solved
When I use HttpGet(...), intellisense tells me that besides the first argument, i.e. pattern, I also have name and order. While the latter is obvious to me, I got a bit uncertain on what the parame...
Flouncing asked 22/6, 2020 at 7:19
24
Solved
I'm developing a new RESTful webservice for our application.
When doing a GET on certain entities, clients can request the contents of the entity.
If they want to add some parameters (for example s...
14
Consider this form:
<form action="http://www.blabla.com?a=1&b=2" method="GET">
<input type="hidden" name="c" value="3" />
</fo...
1
I have a complex object to be passed as query string in ASP.Net Core 3.2.
public class Customer
{
public string Firstname { get; set; }
public List<Address> Addresses { get; set; }
}
publ...
Monogenic asked 16/6, 2020 at 11:8
9
Solved
I am using the latest okhttp version: okhttp-2.3.0.jar
How to add query parameters to GET request in okhttp in java ?
I found a related question about android, but no answer here!
Mimosa asked 9/5, 2015 at 16:53
3
Solved
I would like to be able to handle a complex type as an argument to my HttpGet method.
The method pickNFirstElements works when the api method does not take any parameters, but not when i try to p...
Commensurable asked 28/6, 2019 at 11:35
31
Solved
I need to do an HTTP GET request in JavaScript. What's the best way to do that?
I need to do this in a Mac OS X dashcode widget.
Potable asked 29/10, 2008 at 16:31
3
Solved
I want to implement a REST API and need a body on my GET requests. (Like discussed here: HTTP GET with request body)
Are there http clients which are not able to send a body with a GET request? Fi...
Jacquiline asked 18/6, 2012 at 21:14
3
Solved
I can decorate an action either with the [AcceptVerbs(HttpVerbs.Post)]/[AcceptVerbs(HttpVerbs.Get)]
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(string title)
{
// Do Something...
}
...
Augmentative asked 2/10, 2010 at 0:39
2
Solved
What is the reason that we cannot use the browser Back button when we submit a page using HTTP POST? But it is fine with HTTP GET? I have read that the browser tries to prevent multiple POSTS (to a...
5
Solved
I'm trying to build a restful API and I'm struggling on how to serialize JSON data to a HTTP query string.
There are a number of mandatory and optional arguments that need to be passed in the req...
Merola asked 8/4, 2013 at 6:30
8
Solved
Several of my ajax applications in the past have used GET request but now I'm starting to use POST request instead. POST requests seem to be slightly more secure and definitely more url friendly/pr...
4
Solved
I just wondered if there is a very easy way to determine whether the request is a $_POST or a $_GET request.
So does Codeigniter have something like this?
$this->container->isGet();
Vannie asked 31/10, 2014 at 20:29
6
Solved
I just wondered if there is a very easy way (best: a simple $this->container->isGet() I can call) to determine whether the request is a $_POST or a $_GET request.
According to the docs,
A...
9
Solved
I am issuing a request via chrome:
[org]/api/data/v8.1/accounts?$select=name,accountid&$top=3
and I get a reasonable response:
{
"@odata.context":"[org]/api/data/v8.1/$metadata#accounts(n...
Eiderdown asked 23/4, 2017 at 23:17
3
Solved
When I go to the page /bla in my NodeJS app, the console prints out
GET /bla - - ms - -
In words (for easier Google searches), dash dash ms dash dash.
What does this mean?
11
Solved
When you GET
https://encrypted.google.com/search?q=%s
Is the %s query encrypted? Or just the response?
If it is not, why should Google serve its public content also with encryption?
2
I am trying to do a very simple thing which was working a couple of days ago.
CloseableHttpClient client = HttpClientBuilder.create().build();
HttpGet get = new HttpGet(url);
HttpResponse respon...
Palmation asked 3/10, 2014 at 21:54
3
does anybody know URL length limitation for Microsoft Edge?
As you know, Internet Explorer has limitation for URL length, Maximum length is 2048. How about Edge? I guess, it should be gone for now....
Vagarious asked 28/8, 2015 at 9:13
4
I've been searching the web for how to get POST data inside the controller, so far I have found two solutions: Input::get() and $_POST.
The comment for Input::get() reads:
/**
* Gets a "param...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.