Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Do you recommend any good library or examples online for implementing an HTTPS client that can connect to a website using basic authentication? This is meant to run in linux servers.
Any pointers help.
Update: Question about the unanimous libcurl - does it come bundled by default in major distributions like Debian, Ubuntu, Gentoo, Slackware, RedHat and Arch?
libcurl supports both HTTPS and HTTP Basic Authentication. There's plenty of example code online.
All of the distributions you mention have libcurl packaged. It is not absolutely certain to be installed, but it is very common.
libcurl
A free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE, LDAP and LDAPS. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more.
I have used libcurl and can recommend it.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm currently building a website where vendors from my city can authenticate and post their products, so users can search and buy them.
I started building the website with Django; in the meantime, I was taking a beautiful ReactJS 30+ hours online course and learning how much you can do with it: not only pure frontend, e.g. Routing, GET/POST requests, Forms and validation, Authentication. My initial idea was building the website with Django Rest (backend) AND React (frontend),.
But now I have a question:
Can I build my buy&sell website with React ONLY? (maybe using some pre-made backend networks like Firebase to save/fecth data to/from a database, to save time).
In your opinion would I need some backend functionalities which would be impossible/inconvenient to implement with React, Firebase or other services? Please consider that I'm talking about a quite standard buy and sell website with authenticated vendors and buyers.
Thank you very much for any advice.
While you don't need to use Django, you do need to use some backend framework to connect to your database or data store. So, to answer your main question directly, you probably need some other backend system to serve your data, manage authentication tokens, etc.
Django makes it pretty simple to wire up to a REST API (Django REST Framework is my preference, too), but you might be able to get everything you need done with NodeJS, and without Django.
Even still, you're looking at some type of backend, even with NodeJS and a simple NoSQL datastore.
I think you're on the path of least resistance by using Django, DRF, and React, and with a robust database like PostGreSQL.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am looking for the very simplie way to fetch HTML body of a remote web site into a string using default C++ libraries or WinAPI.
There are no default C++ libraries to do this. And I'm not familiar with WinAPI. But check out the libcurl website here: http://curl.haxx.se/libcurl/. That site has a listing of "competitor" libraries that may be of use.
Have a look at Microsoft's WinInet API:
The Microsoft Windows Internet (WinINet) application programming interface (API) enables applications to access standard Internet protocols, such as FTP and HTTP. For ease of use, WinINet abstracts these protocols into a high-level interface.
Or Microsoft's WinHTTP API:
Microsoft Windows HTTP Services (WinHTTP) provides developers with an HTTP client application programming interface (API) to send requests through the HTTP protocol to other HTTP servers.
They are both built into Windows. You simply need to link to either wininet.dll or winhttp.dll, then #include either wininet.h or winhttp.h in your code, and call the relevant HTTP functions as needed.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am developing an instant messaging web service, using Socket.IO. You can imagine it, workig like faceboọk chat.
I need to make a report to my teacher and I don't know what type of web service is this? I don't think that it is a RESTFul web services. Can you help me?
Socket.IO is a java script based web api. It follows client server architecture but it's not a web service.
http://en.wikipedia.org/wiki/Socket.IO
http://socket.io/
Socket.IO uses the Web Sockets protocol, with a fallback to other techniques when a client uses an ancient browser.
http://en.wikipedia.org/wiki/WebSocket
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for an easy to use static file service that I can use with my application server. I'm using Django and just need a simple service that let's me host static files that I can call from my templates.
It would be best if the service had an easy way to secure certain files and had a way to easily integrate that secure file sending.
I could just use a webserver I have, but I'm currently testing Heroku and it doesn't host static files. I'd use my other webservers, but I'm looking for something that can handle the secure files better then just an ngix server. I'm not a great admin so I was hoping for a easy-to-use API based or something static server host.
Essentially I want to do what is described in here: http://forum.slicehost.com/comments.php?DiscussionID=1929
But from a server that is not "local" to the application server, like http://wiki.nginx.org/NginxXSendfile that requires.
Well that depends on what you need. Are you looking for a CDN, then go to google and search CDN and spend a few hours picking one out. If you're looking to store user uploaded files perhaps try S3.
If your looking for how to deal with this in django. Well then that's what the STATIC_URL (or MEDIA_URL) setting handles for you (as well as the {{ MEDIA_URL }} idiom is for in templates (replaced by staticfiles in django 1.3)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have three websites that I want to generate tiny urls for search result pages every time someone clicks search. I like the http://bit.ly api and the fact that it offers tracking. However, it requires me to provide a password and does not offer ssl support. Does anyone know of a similar service that offers tracking, and a https accessible API?
I think short URLs for HTTPs connections are really bad idea. After all SSL is here to ensure (part of its job) that you are actually talking to the server requested.
But in short URL scenario you are talking to a different server first - an ideal scammer situation.
Bit.ly doesn't require you to send a password using their API; they require you to pass a token (aka API Key) that isn't in any way tied to your password. It's an URL shortening service after all. Considering all the information is pretty much public anyway, security shouldn't be a concern.