Questions tagged [http-parameters]
48 questions
0
votes
4 answers
issue in query params in angular 8
I have a problem with the query parameters in angular 8. This is the code:
headers = {
headers: new HttpHeaders({
'Content-Type' : 'application/json',
'Accept': 'application/json'
})
};
login(username,…

CaneRandagio
- 366
- 2
- 15
0
votes
0 answers
HTTP request parameter and hearders
Reference to my question here. Is there any system where I can send any type of http request and it can inform me that what was passed in my request like headers, post/get/put parameters and all the information? So that if there is an issue in my…

nbhatti2001
- 353
- 2
- 7
- 33
0
votes
1 answer
How to pass data in POST request as query string parameter in angular using HttpParams
I'm passing some data as query string parameter as POST method in Angular8 using HttpParams. While checking the network tab the API is not formed with the query string parameters and the request header is also not correct. Kindly find the below code…

knbibin
- 1,099
- 7
- 18
- 36
0
votes
3 answers
HttpParams dont request filtered JSON
I have a really simple http request.
My Front end:
My onSubmit():
onSubmit() {
this.personService.getPersonByName().subscribe(person => {
console.log('Person', person);
});
My PersonService…

SwaX
- 97
- 10
0
votes
1 answer
Sending a List of complex Objects through Http Params to a Spring MVC Rest Controller
My POJO
public class SearchCriteria {
private String key;
private String operation;
private Object value;
default constructor, parameters constructor, setters and getters....
}
My RestController method…

Bruno Miguel
- 1,003
- 3
- 13
- 26
0
votes
2 answers
How to set HTTP Params in Angular without the key?
Whenever I try to set HttpParams it's like:
let params = new HttpParams()
.set('someKey', this.key)
but my API URL looks like this:
/api/something/99999/item
So how to set this.key like this which is 99999?
user7832762
0
votes
2 answers
Angular 6 and PHP: can't send a parameter via HttpParams to PHP script
I have this API function:
public function login($conn, $user){
$login = "SELECT username FROM login WHERE username=:user";
$execLogin = $this->conn->prepare($login);
$execLogin->bindValue(":user", $user);
$execLogin->execute();
…

alim1990
- 4,656
- 12
- 67
- 130
0
votes
1 answer
App Service with hyphen in http parameter
So we're busy with an ABP project and struggling to specify the http parameter to map to the app service parameter. Mailgun's Webhook uses "Message-Id" as the http parameter and we are struggling to access that from an app service.
Here is our app…

ryan27968
- 437
- 3
- 7
- 14
0
votes
1 answer
How to call smarty variable inside smarty template
I use Smarty 3 and I try to extend my links with parameters.
This works fine:
some…

Ronny Linsener
- 253
- 3
- 16
0
votes
2 answers
how to get the value from HttpMethodParams
At client side I use the following code:
HashMap paramMap = new HashMap<>();
paramMap.put("userId", "1579533296");
paramMap.put("identity", "352225199101195515");
paramMap.put("phoneNum", "15959177178");
HttpClient client = new…

zhenganyi
- 169
- 10
0
votes
1 answer
Liferay.Util.openWindow with a POST URL? (in order to allow longer parameters)
In my Liferay 7 JSP, I open a popup that launches a request to a Liferay portlet (that portlet transforms the text and sends the result back for display inside the popup):

Nicolas Raoul
- 58,567
- 58
- 222
- 373
0
votes
1 answer
$http.get('url', { params: { email: email } }); sending request with empty params
I am trying to send HTTP GET request with email in params in following code:
$http.get('api/me', {
params: {
email: email
}
});
but at backend I am receiving empty params i.e. request.params is blank. I tried the other format of…

Rusty
- 1,086
- 2
- 13
- 27
0
votes
1 answer
How to post pameters with authentication in http post with specific key values pair?
try {
String auth = android.util.Base64.encodeToString((“USERNAME” + ":" + “PASSWORD”).getBytes("UTF-8"), android.util.Base64.NO_WRAP);
HttpParams httpParameters = new BasicHttpParams();
HttpPost request = new HttpPost(“URL” + ” ? action =…

Chirag
- 2,321
- 24
- 36
0
votes
1 answer
modifying http header/parameters in a pcap file
Is there any way to add/modify existing http header/request parameter in a pcap file? Any tools out there or do I need to assemble back to HTTP using Justniffer or similar tool and go from there?

vpram86
- 5,860
- 4
- 28
- 40
0
votes
1 answer
Parse Parameters of HTTP Get Request
A bit of background, I'm creating an SMS Gateway to have the Android phone act as a mini Web Server/SMS Gateway. Whenever a SMS is received, it posts to a web service (external). The web service (external) responds back to the Android's IP Address…

kobaltz
- 6,980
- 1
- 35
- 52