Mars Rover Photos via REST API [Curl/Bash Code]

Get Mars photos gathered by NASA's Curiosity, Opportunity, and Spirit rovers on Mars by sending a GET request to the Nasa.gov REST API. Replace {nasa_apikey} with your own Nasa API key. The Curl/Bash code was automatically generated for the Mars Rover Photos Via REST API example.
Mars Rover Photos via REST API [Curl/Bash Code] Send
GET /mars-photos/api/v1/rovers/curiosity/photos?sol=800&api_key={nasa_apikey} HTTP/1.1
Host: api.nasa.gov

Updated: Viewed: 5065 times
Curl/Bash code for Mars Rover Photos Via REST API example

Curl/Bash code for Mars Rover Photos Via REST API Example

This Curl/Bash code snippet was generated automatically for the Mars Rover Photos Via REST API example.
<< Back to the Mars Rover Photos Via REST API example

Generate code snippets for Curl/Bash and other programming languages

Convert your Mars Rover Photos Via REST API request to the PHP, JavaScript/AJAX, Curl/Bash, Python, Java, C#/.NET code snippets using the Curl/Bash code generator.