Do any URL Shortening services with link tracking have a https accessible url? [closed] - bit.ly

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.

Related

Can Django REST Swagger be used to generate static HTML documentation? [closed]

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'm working on a new Django REST Framework project and I'm using Django REST Swagger to have provide beautiful documentation out of the box. However, I would like to share this documentation without having to spin up a staging machine or anything like that. I would just like to generate static sphinx-like documentation, without the fancy client features. I don't need to be able to actually hit the API endpoints. I just want a user friendly description of what endpoints exist, what they accept/return etc.
Is this possible using Django REST Swagger? If not, is there any tool that does this? Or do I just have to write sphinx documentation manually?
Django REST Swagger allows you to generate documentation with swagger-ui. You can follow the example as a starting point.
Here is an example of documentation using swagger-ui: http://petstore.swagger.io/

Instant message web service use socket.io [closed]

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

Hosting Private Sphinx Documentation [closed]

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
I am currently writing some extensive documentation using Sphinx for a rather complex Django web site. I have been working on this in-house and before I leave soon I want to leave behind detailed documentation accessible by the new devs/admins for the site.
My question is what are my options for hosting this documentation? I would prefer it to be private. Also the docs are concerning a website not a python package. For these two reasons I am thinking that Read the Docs may not be the most appropriate option.
I ran across django-sphinxdoc , though this requires setting up Haystack as the backend. Is there not a way to simply server the docs using the built in js search? Or a service which allows private hosting of the docs?
Any options would be much appreciated.
Sphinx can generate static .html files (make html). Put those HTML files up on an internal web server and you should be good to go.
See the answer to this question (full disclosure, I asked the question, got no answer did some research and coding and posted the answer, so while it works there may be better ones out there. I'd be much obliged if someone would point them out.)
This gitlab repo shows a working example here.
Uses static password protection and is also discussed in this issue.

A good static file server as a service [closed]

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)

Best practices for custom http user-agent strings? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm developing an application that communicates with an internal web service using HTTP.
Are there any "best practices" for custom user-agent strings so that I can put a nice one in my app? It's a Python library and the lower transport is Python's own httplib. Should the user-agent string say that or something else?
For internal use you can use anything really.
Of course, internal or external its always a good idea to include contact information, either web or email address, in case something breaks or application goes out of control.
Check this big list of user agents for inspiration: http://www.user-agents.org/
It is considered good practice to include at least an email address so people can contact you if your application is causing problems. This will also be your best chance of not getting blocked.
It's common to put a name and version number as well. Other than that it's mostly freestyle. user-agents.org has alot of examples.
Don't forget to honor robots.txt as well.
You can write in user-agent what you want! But if you beware of your application HTTP queries to this server may be blocked, set user-agent to common browser (like Firefox on Gecko engine) then server admin don't know what application reads her page and in server logs don't see your application.