Skip to content

Instantly share code, notes, and snippets.

@hectorcorrea
Last active November 11, 2025 19:42
Show Gist options
  • Select an option

  • Save hectorcorrea/1ac5d03b19263f44400b8af276f867e5 to your computer and use it in GitHub Desktop.

Select an option

Save hectorcorrea/1ac5d03b19263f44400b8af276f867e5 to your computer and use it in GitHub Desktop.
Calling Mediaflux from the terminal
# Execute the HTTP POST to Mediaflux
# The details of the request (service to call, parameters) are in payload-trivial.xml
# Make sure you also enter a valid session in the payload-trivial.xml
curl -X POST http://0.0.0.0:8888/__mflux_svc__ -H "Content-Type: text/xml" -d @payload-trivial.xml
<?xml version="1.0"?><request><service name="server.version" session="your-session-goes-here"/></request>
<?xml version="1.0"?><request><service name="tigerdata.trivial" session="your-session-goes-here"><args><string>hola</string></args></service></request>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment