Skip to main content

Questions tagged [get]

GET is one of many request methods supported by the HTTP protocol. The GET request method is used when the client needs to get data from the server as part of the request-URI.

get
-1 votes
0 answers
6 views

validate the json fields value | AssertionError: expected undefined to deeply equal '[email protected]'

// validate the json field values pm.test("validate the json fields value", ()=>{ var jsonData = pm.response.json(); pm.expect(jsonData.id).to.eql(pm.environment.get("id_env")); ...
user26132769's user avatar
0 votes
1 answer
12 views

How to query post requests on browser

I've been getting started with querying APIs, and I spent a while today frustrated with trying to do a POST request through my browser, the same way I was able to do GET requests. I folded and got ...
klaus's user avatar
  • 1
1 vote
0 answers
18 views

How can I send a string from a Python script to a webserver?

I need a python script to send a string to a webserver if a condition is true. To check the condition, I have an if loop. However, I'm not sure what commands to use to send the string to the webserver....
elvishpotato's user avatar
0 votes
1 answer
22 views

Cannot Include a Date Range for my Amadeus API Requests for Flight Offers

I am using Python and I am reading the documentation and using the Get request to search for Flights under a certain price for a project in my online course. I am able to get my requests to go ...
Taylor Python's user avatar
0 votes
0 answers
12 views

API request using Axios to Reed API keep getting unauthorized 401 code

Here is my code that I'm using on JS const keywords = "keywords="+ req.body.keyword+"&"; const locationName = "locationName="+req.body.location; try { const ...
Cayman Fitzhugh's user avatar
0 votes
1 answer
34 views

unable to get the emails from outlook by using graph api - getting NullReferenceException: Object reference not set to an instance of an object error

unable to get the emails from outlook by using graph api get method public List<Message> GetAllMails() { List<Message> mails = new List<Message>(); //var ...
Gokulsusan's user avatar
0 votes
1 answer
14 views

Jmeter giving incomplete json response

When i make get call in jmeter i'm getting incomplete json response. i have six json object in my response but when i hit api with jmeter it giving me only 4 json object but when i hit with postman, i'...
Arvind Pareek's user avatar
-1 votes
1 answer
49 views

Cannot pass value from service to component

I'm learning to use Angular. I've done some API with Spring-boot and I've created some components in Angular to view them, but I can't view anything. I've created in angular a Service to do all the ...
Andrea Crinella's user avatar
1 vote
1 answer
68 views

Python requests and cURL never return a response

I am attempting to scrape the NSE website for a particular company, in Python. I am attempting this using the requests library and it's corresponding get() method. This should return a .html file, ...
Shirsak's user avatar
  • 45
0 votes
1 answer
20 views

Can't get data with URL in Postman, but can with passing by key-value

I'm not very familiar with Postman but why GET request returns data when checkbox is marked and without url parameter, like this: and when I try to put url parameter and unmark checkbox, then doesn't ...
NJR11's user avatar
  • 63
0 votes
1 answer
33 views

How can I using python "get" requests to access API responses with Bearer Token

I ran my codes below but get a response of "Error: 401 Status Code: 401; Unauthorized" def Pods_Assets(token): url = "https://api.aqmeshdata.net/api/Pods/Assets_V1" # ...
Han Xiao's user avatar
0 votes
1 answer
33 views

Getting an error when returning a validation view in Laravel

What I am trying to achieve is to redirect back to the page with validation message if the input is incorrect. Currently I am facing an error and that says. Method Not Allowed Symfony\Component\...
alex wang's user avatar
0 votes
1 answer
34 views

Angular HttpErrorResponse 403 on Visual Studio Code console

I'm using Angular 17.3.8 with a non-standalone project, and I'm encountering an error in my VSCode console that I can't understand. I've created a login system with cookies, and it works fine. The ...
Francis's user avatar
  • 23
-1 votes
0 answers
26 views

With angular, IF and ELSE functions bypassing GET request?

(Context) In TS side of the code there are 2 functions that are triggered by a button click, a GET request and a Comparator The Get Request (which is called inside the comparator) pulls information ...
Lucas Petronetto's user avatar
0 votes
0 answers
27 views

Where one can find the built-in onclick method of a button within a form tag?

I'm trying to understand a little of how the following html code snippet works under the hood: <form action="/some_action" method="POST"> <input name="name"&...
Clodo's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
1144