tagged [get]

How can I handle the warning of file_get_contents() function in PHP?

How can I handle the warning of file_get_contents() function in PHP? I wrote a PHP code like this But when I remove "http://" from `$site` I get the following warning: > Warning: file_get_contents(ww...

Cache an HTTP 'Get' service response in AngularJS?

Cache an HTTP 'Get' service response in AngularJS? I want to be able to create a custom AngularJS service that makes an HTTP 'Get' request when its data object is empty and populates the data object o...

14 Dec at 12:43

How do I POST data from an asp.net MVC controller to a non-MVC asp.net page?

How do I POST data from an asp.net MVC controller to a non-MVC asp.net page? One department in our company is using classic asp.net while ours department is using MVC. We need to pass 5 variables to h...

4 Sep at 14:47

Get only filename from url in php without any variable values which exist in the url

Get only filename from url in php without any variable values which exist in the url I want to get filename without any `$_GET` variable values from a URL in php? My URL is `http://learner.com/learnin...

27 Feb at 07:30

Use jQuery to get the file input's selected filename without the path

Use jQuery to get the file input's selected filename without the path I used this: to get the file name selected, but it returned the full path, as in "C:\fakepath\filename.doc". The "fakepath" part w...

22 Jul at 14:10

Using the GET parameter of a URL in JavaScript

Using the GET parameter of a URL in JavaScript If I am on a page such as [http://somesite.com/somepage.php?param1=asdf](http://somesite.com/somepage.php?param1=asdf) In the JavaScript of that page, I ...

16 Jul at 16:40

Getting apt-get on an alpine container

Getting apt-get on an alpine container I have to install a few dependencies on my docker container, I want to use python:3.6-alpine version to have it as light as possible, but apk package manager whi...

20 Nov at 09:19

REST API using POST instead of GET

REST API using POST instead of GET Let's assume a service offers some funcionality that I can use like this: Is it right to say that I can use it with a POST query? Are these two queries the same? Can...

7 Apr at 11:11

PHP - Get array value with a numeric index

PHP - Get array value with a numeric index I have an array like: So, this native function would return a value based on a numeric index (second arg), ignoring assoc keys, looking for the real position

18 Jun at 13:19

Recommended date format for REST GET API

Recommended date format for REST GET API What's the recommended timestamp format for a REST GET API like this: I think the actual date format should be ISO 8601 format, such as `YYYY-MM-DDThh:mm:ssZ` ...

6 Mar at 10:21

Steps to send a https request to a rest service in Node js

Steps to send a https request to a rest service in Node js What are the steps to send a https request in node js to a rest service? I have an api exposed like [(Original link not working...)](https://...

6 Dec at 11:0

How to correctly use axios params with arrays

How to correctly use axios params with arrays How to add indexes to array in query string? I tried send data like this: And I got this url: So, I should to get this url: ``` http://localhost/api/myCon...

20 Apr at 14:49

How to post data in PHP using file_get_contents?

How to post data in PHP using file_get_contents? I'm using PHP's function `file_get_contents()` to fetch contents of a URL and then I process headers through the variable `$http_response_header`. Now ...

3 Nov at 10:46

Get Property from a generic Object in C#

Get Property from a generic Object in C# have a look at this code please: ``` public void BindElements(IEnumerable dataObjects) { Paragraph para = new Paragraph(); foreach (T item in dataObjects) ...

27 Nov at 17:36

How to make an HTTP get request with parameters

How to make an HTTP get request with parameters Is it possible to pass parameters with an `HTTP` get request? If so, how should I then do it? I have found an `HTTP` post requst ([link](http://msdn.mic...

30 Dec at 00:50

How to list all properties of a PowerShell WMI object

How to list all properties of a PowerShell WMI object When I look at the [Win32_ComputerSystem class](http://msdn.microsoft.com/en-us/library/aa394102%28v=VS.85%29.aspx), it shows loads of properties ...

16 Sep at 05:57

Why Automatically implemented properties must define both get and set accessors

Why Automatically implemented properties must define both get and set accessors When we define a property like dot net can make our properties code. but when we use we face with ``` 'Hajloo.SomeThing....

24 Apr at 21:16

How to add parameters to a HTTP GET request in Android?

How to add parameters to a HTTP GET request in Android? I have a HTTP GET request that I am attempting to send. I tried adding the parameters to this request by first creating a `BasicHttpParams` obje...

4 Mar at 16:30

How can I check the version before installing a package using 'apt-get'?

How can I check the version before installing a package using 'apt-get'? I'm thinking to install version 5.5.4 which was released last month on my [Debian](http://en.wikipedia.org/wiki/Debian) PC. I c...

3 Aug at 22:11

Beautiful way to remove GET-variables with PHP?

Beautiful way to remove GET-variables with PHP? I have a string with a full URL including GET variables. Which is the best way to remove the GET variables? Is there a nice way to remove just one of th...

9 Aug at 15:30

How to use verb GET with WebClient request?

How to use verb GET with WebClient request? How might I change the verb of a WebClient request? It seems to only allow/default to POST, even in the case of DownloadString. ``` try { WebClien...

23 Nov at 19:40

Cannot apply indexing with [] to an expression of type 'method group' SinglePageApp1. Get["/"] Nancy

Cannot apply indexing with [] to an expression of type 'method group' SinglePageApp1. Get["/"] Nancy I try to make a class with NancyModules and GET string on URL but method 'Get' tells that: > "Error...

21 Sep at 15:45

How to pass extra variables in URL with WordPress

How to pass extra variables in URL with WordPress I am having trouble trying to pass an extra variable in the url to my WordPress installation. For example `/news?c=123` For some reason, it works only...

13 Apr at 18:4

Get href attribute on jQuery

Get href attribute on jQuery I have some table rows ``` example example N

16 Feb at 15:4

Get file content from URL?

Get file content from URL? When I use following URL in browser then it prompt me to download a text file with JSOn content. [https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=t:60,40&chl=Hello...

16 Jan at 10:33