Tag: http

61 votes
3 answers
1.3K views
Reading header data in Ruby on Rails

I am making an API where in the access token for Facebook login will be sent in through header data. How do I

avatar
Joseph
0 1 0 9
asked 07 September, 2021
58 votes
2 answers
2.4K views
POST JSON to API using Rails and HTTParty

I would like for a user within my ruby on rails app to be able to submit a ticket to my external ticket manage

avatar
Elicia
0 1 0 9
asked 07 September, 2021
56 votes
5 answers
1.5K views
Right HTTP status code to wrong input

What is optimal HTTP response Code when not reporting 200 (everything OK) but error in input? Like, you submi

avatar
Winford
0 1 0 9
asked 07 September, 2021
60 votes
4 answers
2.7K views
joomla BASE HREF uses HTTP instead of HTTPS

I wanted to change my site from http to https. Always. So I configured my apache accordingly. Now when I ente

avatar
Kisha
0 1 0 9
asked 07 September, 2021
51 votes
9 answers
3.1K views
Returning a file to View/Download in ASP.NET MVC

I'm encountering a problem sending files stored in a database back to the user in ASP.NET MVC. What I wan

avatar
Roger
0 1 0 9
asked 07 September, 2021
61 votes
19 answers
947 views
How can I properly handle 404 in ASP.NET MVC?

I am using RC2 Using URL Routing: routes.MapRoute( "Error", "{*url}", new { controller = "Err

avatar
Dorian
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
448 views
How do you handle multiple submit buttons in ASP.NET MVC Framework?

Is there some easy way to handle multiple submit buttons from the same form? For example: <% Html.BeginFor

avatar
Freida
0 1 0 9
asked 07 September, 2021
66 votes
4 answers
2.7K views
What is Kestrel (vs IIS / Express)

What is the kestrel web server and how does it relate to IIS / IIS Express? I come from developing apps on II

avatar
Alba
0 1 0 9
asked 07 September, 2021
69 votes
13 answers
3.2K views
How to read values from the querystring with ASP.NET Core?

I'm building one RESTful API using ASP.NET Core MVC and I want to use querystring parameters to specify f

avatar
Benton
0 1 0 9
asked 07 September, 2021
63 votes
9 answers
1.2K views
Handling cookies in PhoneGap/Cordova

I'm working on a PhoneGap app with server session usage. It needs cookies to handle the session. Addition

avatar
Dorian
0 1 0 9
asked 07 September, 2021
50 votes
2 answers
1.2K views
What is difference between grpc and websocket? Which one is more suitable for bidirectional streaming connection?

I want to develop a client-server application in a bi-directional streaming manner. what is more suitable tec

avatar
Stacia
0 1 0 9
asked 07 September, 2021
67 votes
4 answers
1.3K views
My Understanding of HTTP Polling, Long Polling, HTTP Streaming and WebSockets

I have read many posts on SO and the web regarding the keywords in my question title and learned a lot from th

avatar
Stacia
0 1 0 9
asked 07 September, 2021
59 votes
11 answers
721 views
node.js, socket.io with SSL

I'm trying to get socket.io running with my SSL certificate however, it will not connect. I based my cod

avatar
Patsy
0 1 0 9
asked 07 September, 2021
56 votes
12 answers
1.7K views
HTTP headers in Websockets client API

Looks like it's easy to add custom HTTP headers to your websocket client with any HTTP header client whic

avatar
Daniel
0 1 0 9
asked 07 September, 2021
66 votes
9 answers
1.9K views
Does HTTP/2 make websockets obsolete?

I'm learning about HTTP/2 protocol. It's a binary protocol with small message frames. It allows stre

avatar
Sena
0 1 0 9
asked 07 September, 2021
54 votes
15 answers
382 views
Best way in asp.net to force https for an entire site?

About 6 months ago I rolled out a site where every request needed to be over https. The only way at the time

avatar
Forrest
0 1 0 9
asked 07 September, 2021
60 votes
21 answers
901 views
How is an HTTP POST request made in node.js?

How can I make an outbound HTTP POST request, with data, in node.js?

avatar
Bryan
0 1 0 9
asked 07 September, 2021
55 votes
17 answers
659 views
Use .htaccess to redirect HTTP to HTTPs

Please, don't recommend me the long and very detailed thread with more than 173 upvotes. It didn't w

avatar
Venice
0 1 0 9
asked 07 September, 2021
56 votes
26 answers
1.7K views
What&apos;s the net::ERR_HTTP2_PROTOCOL_ERROR about?

I'm currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Ch

avatar
Boyd
0 1 0 9
asked 07 September, 2021
54 votes
9 answers
797 views
How can I add a custom HTTP header to ajax request with js or jQuery?

Does anyone know how to add or create a custom HTTP header using JavaScript or jQuery?

avatar
Rudy
0 1 0 9
asked 07 September, 2021