Which web services have a simple cURL and command line friendly interface exposed via easy to remember URLs?
-
i.e. services similar to http://ifconfig.me where you can execute: "curl http://ifconfig.me" and receive a text response of your machine's IP address, with no further need to parse the result on the command line.
-
Answer:
Amazon EC2 has an API called instance-data which has a simple interface to query for data about the instance you are on. To see in in action, log into an ec2 host and run the following commands: curl http://169.254.169.254/instance-data/latest/meta-data/instance-data http://169.254.169.254/instance-data/latest/meta-data/user-data For more information, see http://docs.amazonwebservices.com/AmazonEC2/dg/2007-01-03/AESDG-chapter-instancedata.html
Daniel Chen at Quora Visit the source
Related Q & A:
- How to remove path of my command line?Best solution by Super User
- How to create jar file from command line?Best solution by Stack Overflow
- Which web-based software would you recommend for home inventory management?Best solution by Quora
- How to change brightness on Linux desktop through the command line?Best solution by Super User
- Where can I find good a tutorial for creating a simple flash movie using Adobe Flash CS4?Best solution by Graphic Design
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.