Questions tagged [http-parameters]

48 questions
1
vote
0 answers

Micronaut HTTP Client handeling empty parameters in GET requests

Micronaut declarative HTTP Client question I need to construct a GET request that looks like this: URL/index?xxx=42&singledatapoint&Unadjusted If I use MN’s declarative HTTP Client, like…
brianjohnsen
  • 145
  • 8
1
vote
1 answer

pass parameters as Map in flutter http.get GET request

Is there any way to conveniently pass both parameters/queries as a Map itself along with headers into the get request in flutter. As of now, I'm using http package and can only do it with url string manipulations as follows: var…
user5927645
1
vote
0 answers

How to set page parameter twitter api user timeline

How can I get the 3200 most recent tweets from a users timeline as documented? I know I can only get 200 tweets per request. I want to use the page parameter, but the page parameter is no longer present in the current documentation. It did contain…
1
vote
1 answer

Passing HTTP parameters from request url with Flask

Below is the code I'm using for Simple REST API. It is working fine. The REST URL is like http://127.0.0.1:8080/sample/100 But I need to pass 100 as a key value pair like http://127.0.0.1:8080/sample?runtime=100. Is this possible or any other python…
Krishna
  • 1,089
  • 5
  • 24
  • 38
1
vote
1 answer

Angular2 HttpParams not sent as expected

When sending a GET request with Query Parameters using Angular2 http, the sent parameters aren't sent as I expect. Rather than the standard key value pair e.g. key1=val1&key2=val2 It's being sent as the HttpParams object…
rossco
  • 523
  • 4
  • 20
1
vote
1 answer

Taking GET parameters as func arguments or using c.Params.Get() in Golang Revel

In the Golang Revel web framework, what's the difference between setting function arguments as parameters (for both GET and POST) func (c Machine) TestConnection(addr string, port int, username, password string) revel.Result versus retrieving HTTP…
Ari Seyhun
  • 11,506
  • 16
  • 62
  • 109
1
vote
1 answer

httpurlConnection with httpParams in java

I'm trying to post a file from local to another platform over a switch. When i do it with DefaultHttpClient there is no problem. HttpParams params = new BasicHttpParams(); params.setParameter(ConnRoutePNames.LOCAL_ADDRESS,…
enes
  • 95
  • 2
  • 9
1
vote
1 answer

Prevent Jsoup to fetch Http response

I'm using HTTP parameters to send a query to a server and fetch the results. I use Jsoup and send my parameters in the URL: String doc = Jsoup.connect("http://server.com/query?a=x").execute().body(); However, in some cases, I don't want the…
Saba Jamalian
  • 750
  • 2
  • 10
  • 24
0
votes
0 answers

Pass Path Parameters to a Data Connector API (/users/{user_id})using a Watcher

Using a Watcher to trigger a ProcessMaker API call to /users/{user_id} via a Data Connector. This is the Data Connector: Data Connector Page Key is user_id. Path is api/1.0/users/{{user_id}}. This is the Watcher: enter image description…
0
votes
1 answer

How to pass/delete array params in HTTP Params with Angular

I have an Array of statuses objects. Every status has a name, and a boolean set at false by default. It represent checkbox in a form with filters, when a checkbox is checked bool is set at true : const filters.statuses = [ { name:…
0
votes
2 answers

Add an Angular HttpParam for each value in an array

I have a Http Request from angular that has multiple parameters. The one parameter type that the api takes is an Array of integers. So that section of the URl has the similar format to this : &Array=a&Array=b&Array=c Before i realized that i was…
Steve020
  • 125
  • 1
  • 10
0
votes
1 answer

How to pass query param in http get

I want to append query parameter to get url in angular my query parameter is filter={"page_name":{"_eq":"login"},"environment":{"_eq":"staging"}} where it needs to encode…
Kartheek Sarabu
  • 3,886
  • 8
  • 33
  • 66
0
votes
1 answer

Add empty array as a query param

I'm stucked with this problem: I need to create this url .../check?variables=[]&last_name=name&... So I'm using com.ning.http.client.RequestBuilder for building me request I tried doing that way, but it's doesn't work for some reason RequestBuilder…
Ytug Ilya
  • 69
  • 5
0
votes
1 answer

400 error when making post request to local server in Swift

I am trying to make an http POST request to a local server, but when I make the call, I get a 400 error on the server side, so I believe there is a problem in the way I am making the request in the Swift code. I am not sure if I am setting the JSON…
0
votes
0 answers

Express routing param seen as endpoint

I am trying to get a user by id in a nodeJS, mongodb, and express app(a tutorial). What I receive in postman is that it looks for the endpoint 'user/885427r8448734', when id is equal to 885427r8448734, and it simply doesn't work. I put below 3 pics…