An HTTP protocol request method.
Questions tagged [getmethod]
156 questions
-1
votes
4 answers
Two get methods that return same variable
My first get method should return whether someone is underweight, normal weight, over weight or obese according to their BMI.
The second get method, i was hoping, would return the same variable 'category' from the first get method (so whatever the…

CheyBateman
- 27
- 4
-1
votes
1 answer
Http Methods in Angular JS
I've been looking for answers for the past days and still I haven't got any idea on how can I make my app work. I only have one controller for all the subtabs of my app. I had one http get method for one subtab under the main controller and I need…

bleyk
- 799
- 3
- 14
- 41
-1
votes
5 answers
getMethod return null java
I wrote getMethod in the file MovieReader and if I print this method inside this file everything is working well.
import java.io.BufferedReader; // scanner
import java.io.FileReader;
public class MovieReader {
private static String text;
…

krychuq
- 335
- 3
- 9
- 22
-1
votes
1 answer
How to make a get method for an arrayList in Java?
How do I make a get method for an ArrayList?
I have the method header but I have no idea how to proceed.
public Object get(int i) {
}

HelloWorld
- 1
- 1
-1
votes
1 answer
Pass form data encrypted, but visible in URL
so I already managed how to decode and encode, this is done via 2 functions.
So here is the example
http://goldextra.com/b/id_color.php
If you enter a word, it will get encoded, as shown in the result page.
so if one enters = testword
the url will…

TobiasH
- 303
- 2
- 6
- 21
-1
votes
2 answers
Need help making a relationship work with (2) classes
I am trying to verify what is wrong with my class builds to make address class communicate with my warehouse class. My get() and set methods along with toString() is in question. Any help would be greatly appreciated
public class Address
{
private…

kavu
- 7
- 2
-1
votes
2 answers
How to find the class a string describes in Java
Possible Duplicate:
Class.getArrayType in Java?
I need to get the class for a type that is represented by a string. I am trying to invoke getMethod and I only have a list of strings for the types it requires.
Class.forName(str) works when str is…

pinecone
- 81
- 1
- 1
- 6
-1
votes
2 answers
GET method... Extract variables
Can someone help me how to extract the url parameters from the following url using GET method in…

Raja
- 11
- 3
-2
votes
1 answer
add header to fetch GET method
I have a problem in fetch data ?
in my header , i will send token for authentication to my back-end but i don't know how i can add header to get method ..
fetch('https://api.github.com/users/mralexgray/repos', {
method: 'GET',
header: {
…

Ali Ratel
- 1
- 3
-2
votes
1 answer
how to add header to fetch GET method
In my header, I will send token for authentication to my back-end
but I don't know how I can add header to get method ..
fetch('https://api.github.com/users/mralexgray/repos', {
method: 'GET',
headers: {
…

Ali Ratel
- 1
- 3
-2
votes
2 answers
Why does this get Method return a null value?
I can not figure out why the return value for method getButton is null.
I am trying to create a maze game. The setUp method, in the MazeFrame, class draws the maze. Each step within the maze is a button which, in this program, is a Step object which…

Osasikemwen Ogieva
- 11
- 2
-2
votes
1 answer
How to work with Django ajax "GET method"
I want to do an ajax GET and POST method in Django. My post method is working well, but the GET method isn't. See my codes below.
Urls
path("getupdates/",views.getupdates,name="getupdates")
views
def getupdates(request):
if…

Danny
- 11
- 5
-2
votes
1 answer
How to use URL for URL encoding?
I am using URL in one format. but when I enter it in Google and when pressed enter it is converting to another format.
below is my original URL
'https://translation.googleapis.com/language/translate/v2?q=hai basha.how are …

basha
- 587
- 2
- 6
- 25
-2
votes
1 answer
Combining get method with variables inside a secondary get/set method Java
I'd appreciate it if anyone could help. Just what seems like a novice question but I can't figure it out.
I have 3 classes Class1, Class2, UseClass.
In Class1 I have a get/set method (COST is used elsewhere in Class1 but not in those methods)
int…

user3618687
- 113
- 1
- 11
-2
votes
1 answer
Return ArrayList , Output in combination with get Methods
I thought this will work, but sadly it doesn't. I get the error-
The method add(CustomerInfo) in the type ArrayList is not
applicable for the arguments (String)
My aim is to return an Arraylist and make an access with the get Methods. When I'm…

Panther
- 15
- 1
- 6