HTTP methods used to designate the appropriate action to direct a server towards a resource. GET and POST are the most widely known; PATCH and DELETE also fit in that category, among others.
0
votes
0answers
6 views
What are OPTIONS, LINK and UNLINK routes in Sinatra?
Sinatra routes documentation is too short:
options '/' do
.. appease something ..
end
link '/' do
.. affiliate something ..
end
unlink '/' do
.. separate something ..
end
I've been ...
1
vote
1answer
40 views
how to get the server name from a http response
I want to know from which server a response comes.
With a HttpMethod I'm readig the HttpStatus, the Method-Name and other stuff. But how do I get to know the Response-Server?
Thanks for any help.
...
0
votes
1answer
19 views
include and get information using HTTP methods( GET and POST)
I am using Java, Struts1, tomcat6
I have this scenario,
I need to give user LogIn credentials embedded within URl when user hit the URL of application
Like when user enters
...
1
vote
1answer
67 views
ASP.NET Web API - 404 On Delete
I am trying to implement a Delete method on a Web API controller. However, I always get a 404 - Not Found. At this point, I have GET, POST and PUT methods that are working just fine. I've been reading ...
0
votes
0answers
69 views
Symfony2 <a> link with 'post' or 'delete' or 'put' method
I'd like to generate a url with a 'PUT' or 'POST' method requirement, via a <a href> link.
Since I use a framework server-side, I use a fake form to do this - example with PUT method :
...
1
vote
2answers
38 views
Best practice for file-based search in rest service
I'm helping build a similarity search service for files. One way to search for something is with a GET request, by giving a file's URL, but I also need to allow clients to send the file directly. I ...
0
votes
1answer
146 views
“jquery.jsonp.js” GET works. What about POST PUT DELETE OPTIONS?
jsonp http methods besides GET (POST, PUT, OPTIONS, DELETE)
Using jquery built-in $.ajax method looks like this
$(document).ready(function() {
$.ajax({
type: "GET",
url: ...
0
votes
1answer
25 views
Is it a preferred way to reuse a url with different http methods?
For example, when making a payment with credit-card we POST to url /paymybill-cc. And we want to avoid reposting when the user refresh the page. In this case, is it a preferred way to redirect to the ...
0
votes
0answers
12 views
Browsing web with persistent different http method
I can't find any solution for this topic...
For test purpose i need to be able to browse several websites with different HTTP method (HEAD/PUT etc...)
I can find some tools to change requests but it ...
0
votes
2answers
88 views
Which HTTP method to use for file downloading?
In my site users can download their files. But files are generated by using PHP. So what's HTTP method should I use for sending request for download as file attachment? GET or POST?
0
votes
2answers
145 views
GET and POST functions in PHP / CodeIgniter
I like MVC (a lot), and I am trying to teach myself a framework of MVC architecture in all the major web languages of today.
I am currently on CodeIgniter and PHP. I searched online for a way to make ...
0
votes
1answer
18 views
Should mutations always use POST?
Philosophically, I am accustomed to always using GET for HTTP requests that do not alter state, and POST for requests that do. However, lately I have run into some difficulties with this that have ...
1
vote
2answers
221 views
Azure Websites PHP API - 405 Method Not Allowed on PUT and DELETE
I'm building a simple PHP web service using Azure Web Sites and I'm having trouble getting it to support PUT and DELETE http methods. Assuming it's something that'll have to go into the web.config ...
2
votes
0answers
53 views
Tomcat method restriction issue
I know this should be a simple one, but we can't get it to work. We are trying to restrict all Trace, Put and Delete methods to Tomcat so that we can clean up our vulnerabilty scans.
We've tried ...
1
vote
1answer
95 views
updating text from a label.text to the server and saving it in a text file
i am trying to upload label.text on a server within a text file on the server here is my code. it isnt showing any error but file created on server but no text in it. please help.
NSString *post ...