Linked Questions

76 votes
2 answers
253k views

I don't want to see so long parameters string in the URI. So, can GET method use json data? In my situation, I need to filter the result given kind of parameters. If there are a lot of parameter, the ...
HappyLiang's user avatar
19 votes
1 answer
70k views

Possible Duplicate: HTTP GET with request body I've read few discussions here which do not advocate sending content via HTTP GET. There are restrictions on the size of data that can be sent via ...
Tushar Mishra's user avatar
3 votes
1 answer
11k views

I've been looking at how to implement the following: I am developing a RESTful Web API (using .Net Core 2.2). I need to create an endpoint where the consuming client can send some text to the API, ...
Fabricio Rodriguez's user avatar
2 votes
1 answer
10k views

Is passing parameters in the Header Section of HTTP GET possible? Passing parameters in the requested URL is one way of passing parameters. Is there any other way to do the same?
Arti's user avatar
  • 3,101
2 votes
1 answer
6k views

I know that GET call should not have body but the call is developed by other people and I can't change it now. I want to consume an API which is GET method and takes payload (json body). I can consume ...
chom's user avatar
  • 701
3 votes
1 answer
5k views

I'm currently working on REST API. I like the idea of GraphQL or OData to allow developer to choose which columns/fields to return and relation record. But GraphQL require migration and oData have too ...
Tong's user avatar
  • 31
0 votes
1 answer
3k views

I have a GET request setup in Postman with raw body data as below and it works. I can get data from the server But my Js fetch api I'm not sure how to add request body data to it. Here is my GET ...
qangdev's user avatar
  • 414
0 votes
2 answers
3k views

I don't understand why this curl invocation gives me a 400 bad request. curl -v -XGET -H "Content-Type:application/json" -d '{"match":{"first":"james"}}' http://localhost:8080/geocon/search/ ...
BlacK's user avatar
  • 351
-1 votes
1 answer
2k views

Issue happened on ASP.NET Core 3.1 Web API controller. I have a method in controller with [HttpGet] attribute and [FromBody] for only parameter: [HttpGet] public async Task<ActionResult> ...
hitpoint's user avatar
1 vote
1 answer
810 views

I realize this is not recommended, but I'm wondering what the URL would look like, for example: http://myserver.com/rest/info?param1=foo&param2=bar how would you append a body to that URL, I don'...
alphablender's user avatar
  • 2,238
1 vote
0 answers
535 views

I am sending (rather rying to) send a GET request to my server using the native JavaScript fetch API with an HTML client. On postman I can do this, no problems, what is wrong? Here is the error: ...
Xavi Font's user avatar
  • 574
2 votes
0 answers
216 views

new learner here. I usually test my GET api with Postman, where I can send a Get request with a JSON body. I'm trying to do the same using Javascript to send a http GET request with a Body like how we ...
K Y's user avatar
  • 211
0 votes
0 answers
17 views

I know this is simple but for some reason I can not find the solution for the life of my at all. I am trying to create an axios request and pass data into request to find a single user with a username....
omar jandali's user avatar
5837 votes
19 answers
1.8m views

What is the maximum length of a URL for each browser? Is a maximum URL length part of the HTTP specification?
Sander Versluys's user avatar
1138 votes
17 answers
945k views

When issuing an HTTP DELETE request, the request URI should completely identify the resource to delete. However, is it allowable to add extra meta-data as part of the entity body of the request?
Haacked's user avatar
  • 59.3k

15 30 50 per page
1
2 3 4 5
32